:root {
  --bg: #050812;
  --bg-soft: #0d101c;
  --bg-elevated: #111624;
  --text: #f7f8fc;
  --muted: #9aa0ba;
  --accent: #ff9b4a; /* still used for accent text */
  --accent-soft: rgba(255, 155, 74, 0.12);
  --border-subtle: #2a3044;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #12172a 0, #050812 55%, #010208 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  padding-top: 72px;
}

.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* NAV */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 18, 0.95),
    rgba(5, 8, 18, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;      /* subtle, not shouty */
  text-transform: uppercase;   /* keep the nav feeling structured */
}


.nav-links a {
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #6fb6ff;
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 18px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BUTTONS */

.btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    transform 0.08s ease-out,
    box-shadow 0.18s ease-out;
  font-family: inherit;
}

/* Primary = blue gradient, based on product UI button */
.btn-primary {
  color: rgba(12, 18, 28, 0.92);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9),
    #bfdbfe,
    #93c5fd
  );
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Darker ghost button in the hero only */
.hero-ctas .btn-ghost {
  background: rgba(5, 8, 18, 0.75);
  border-color: rgba(255, 255, 255, 0.28);
  color: #e6ebff;
}

.hero-ctas .btn-ghost:hover {
  background: rgba(5, 8, 18, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

/* HERO */

/* Accent label above hero */
.hero .hero-brand-accent {
  font-family: "Bruno Ace SC", system-ui, sans-serif !important;
  letter-spacing: 0.16em;
  font-size: 3.5rem !important;
  text-transform: uppercase;
  color: #e3e7ff;
  opacity: 0.9;
  margin-bottom: 0;
  display: block;
}

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(104, 132, 255, 0.45) 0, transparent 45%),
    linear-gradient(
      120deg,
      rgba(5, 8, 18, 0.9) 0,
      rgba(5, 8, 18, 0.6) 45%,
      rgba(5, 8, 18, 0.9) 100%
    );
  z-index: -2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

/* single-column hero version */
.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, rgba(5, 8, 18, 0.94), rgba(5, 8, 18, 0.96)) padding-box,
    linear-gradient(135deg, #4ab3ff, #ffffff, #ff9b4a) border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #70ff9b, #1ed45d, #15793a);
  box-shadow: 0 0 0 4px rgba(21, 121, 58, 0.35);
}

.section-eyebrow--accent {
  font-family: "Bruno Ace SC", system-ui, sans-serif;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  margin: -16px 0 16px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  margin: 0 0 24px;
  color: #e6ebff;
  max-width: 540px;
  font-size: 0.98rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-footnote span {
  color: #b5bbd8;
  font-weight: 500;
}

/* SECTIONS */

section {
  padding: 70px 0;
}

.section-alt {
  background: #050812;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-eyebrow.section-eyebrow--accent {
  font-family: "Bruno Ace SC", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e3e7ff;
}

.section-head h2 {
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 620px;
  font-size: 0.95rem;
}

/* OUR PHILOSOPHY (WHY FUSIVE) */

.why-fusive {
  position: relative;
  background: none;
  border-top: 4px solid rgba(255, 255, 255, 0.08);
}

.why-fusive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 8, 18, 0.9), rgba(5, 8, 18, 0.97)),
    url("media/philosophy-bg.jpg") center/cover no-repeat;
  z-index: -2;
}

.why-fusive .shell {
  position: relative;
  z-index: 1;
}

/* GRID HELPERS */

.six-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.bos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 30px;
  align-items: center;
}

/* PHILOSOPHY PILLAR CARDS */

.why-fusive .card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(135deg, rgba(5, 8, 18, 0.96), rgba(5, 8, 18, 0.96)) padding-box,
    linear-gradient(135deg, #4ab3ff, #ffffff, #ff9b4a) border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 110px;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out;
}

.why-fusive .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}

.why-fusive .card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  padding: 20px 20px;
}

.why-fusive .card p strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--text);
}

/* BOS TEASER / SECTIONS USED ON HOME + BOS PAGE */

.bos-section {
  background: #050812;
}

.bos-copy {
  font-size: 0.9rem;
  color: var(--muted);
}

.bos-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.bos-list li {
  margin-bottom: 10px;
}

.bos-list strong {
  display: block;
  color: var(--text);
  margin-bottom: 2px;
}

.bos-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.bos-visual img,
.bos-ui-image {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.7);
}

.bos-ui-image-secondary {
  margin-top: 18px;   /* space between the two screenshots */
}

/* BOS PAGE HERO */

.bos-hero {
  padding-top: 90px;
  padding-bottom: 80px;
}

.bos-hero-copy h1 {
  font-size: clamp(2.1rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.bos-hero-points {
  list-style: disc;              /* show bullets */
  padding-left: 20px;            /* indent bullets */
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.bos-hero-points li {
  margin-bottom: 6px;            /* bit of spacing between lines */
}

.bos-hero-points li {
  margin-bottom: 6px;
}

/* BOS feature cards */

.bos-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bos-feature-card {
  border-radius: 18px;
  padding: 18px 18px 20px;
  background: radial-gradient(circle at top left, #151a2b, #070914 65%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.bos-feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.bos-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* BOS UI thumbs */

.bos-ui-thumb {
  padding: 0;
  border: none;
  background: transparent;
  display: block;
  cursor: pointer;
  text-align: left;
}

.bos-ui-thumb-secondary {
  margin-top: 18px; /* space between the two screenshots */
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 101;
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -32px;
  right: -4px;
  background: transparent;
  border: none;
  color: #f7f8fc;
  font-size: 1.6rem;
  cursor: pointer;
}


/* Beta section on BOS page */

.beta-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

.beta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: flex-start;
}

.beta-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.beta-list li + li {
  margin-top: 8px;
}

.beta-cta {
  max-width: 360px;
}

.beta-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 26px;
  background: #04050d;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right a {
  color: var(--muted);
}

/* LinkedIn icon */

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    border-color 0.12s ease-out;
}

.footer-social-img {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .six-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bos-layout {
    grid-template-columns: 1fr;
  }

  .bos-visual {
    margin-top: 16px;
  }

  .bos-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .beta-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }
}

/* CONTACT PAGE */

.contact-page {
  padding-top: 90px;
  padding-bottom: 90px;
}

.contact-head h1 {
  font-size: clamp(2.0rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-card {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 60%),
              #050812;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  padding: 20px 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.contact-card ul {
  margin: 0;
  padding-left: 18px;
}

.contact-card ul li + li {
  margin-top: 6px;
}

.contact-card-primary {
  background: radial-gradient(circle at top left, rgba(111, 182, 255, 0.15), transparent 60%),
              #050812;
}

.contact-btn {
  margin-top: 10px;
  margin-bottom: 10px;
}

.contact-email-raw {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-email-raw strong {
  color: var(--text);
}

/* Stack on smaller screens */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}


@media (max-width: 640px) {
  main {
    padding-top: 64px;
  }

  .hero {
    padding-top: 8px;
  }

  .six-grid {
    grid-template-columns: 1fr;
  }

  .bos-feature-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    text-align: left;
  }

  .why-fusive .card {
    padding: 16px 14px;
  }

  .shell {
    padding: 0 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-left,
  .footer-right {
    gap: 8px;
  }
}

/* OUR FLAGSHIP PLATFORM – BOS pill cards */

.bos-section {
  background: #050812;
  border-top: 4px solid rgba(255, 255, 255, 0.06);
}

.bos-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

/* Pill-style card with left blue bar (inspired by app UI) */
.bos-feature-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 22px 18px 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent 55%),
    #050812;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);

  display: flex;
  flex-direction: column;
  justify-content: center;

  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}

/* Light blue bar on the left */
.bos-feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.65),
    #6fb6ff,
    rgba(111, 182, 255, 0.4)
  );
}

/* Hover lift like the in-product pill */
.bos-feature-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  border-color: rgba(111, 182, 255, 0.22);
}

.bos-feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--text);
}

.bos-feature-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

/* BOS grid responsiveness */
@media (max-width: 960px) {
  .bos-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bos-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile nav toggle (hamburger) */

.nav-toggle {
  display: none; /* hidden on desktop, shown in media query below */
  background: transparent;
  border: none;
  width: 32px;
  height: 24px;
  padding: 0;
  margin-left: 16px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #f7f8fc;
  transition: transform 0.16s ease-out, top 0.16s ease-out, opacity 0.16s ease-out;
}

.nav-toggle span:first-child {
  top: 6px;
}

.nav-toggle span:last-child {
  top: 16px;
}

/* X state when nav is open */
header.nav-open .nav-toggle span:first-child {
  top: 11px;
  transform: rotate(45deg);
}

header.nav-open .nav-toggle span:last-child {
  top: 11px;
  transform: rotate(-45deg);
}

/* Mobile layout for nav */
@media (max-width: 768px) {
  .nav {
    height: 64px;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    padding: 10px 20px 14px;
    background: rgba(5, 8, 18, 0.97);
    backdrop-filter: blur(18px);
    display: none;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 4px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
