/* color-sorting-machine.css (REPLACE FULL FILE) */

/* =============== RESET =============== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }

/* =============== TOKENS (ORANGE ACCENT) =============== */
:root {
  --bo-ink: #0b1220;
  --bo-muted: #6a7a89;

  --bo-accent: #0f766e;       /* teal */
  --bo-accent-2: #155e75;     /* teal/darker */
  --bo-accent-soft: #f0fdfa;  /* very light teal */

  --bo-bg: #ffffff;
  --bo-surface: #f6f7fb;
  --bo-border: #dde5f0;

  --bo-radius-lg: 22px;
  --bo-radius-md: 16px;
  --bo-radius-pill: 999px;

  --bo-shadow-soft: 0 20px 55px rgba(15, 23, 42, 0.14);
  --bo-shadow-card: 0 18px 45px rgba(15, 23, 42, 0.10);

  --bo-container: 1200px;
}

/* Container */
.bo-container {
  width: 100%;
  max-width: var(--bo-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 34px);
}

/* Reveal */
.bo-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.bo-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Make sure hero clears fixed header */
.bo-hero { margin-top: 80px; }
@media (max-width: 768px) { .bo-hero { margin-top: 72px; } }

/* =============== HERO =============== */
.bo-hero {
  position: relative;
  padding: clamp(82px, 10vh, 130px) 0 clamp(56px, 7vh, 90px);
  background: radial-gradient(circle at top left, #f0fdfa 0, #ffffff 50%, #ffffff 92%);
  overflow: hidden;
}

/* Decorative background */
.bo-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bo-hero-orb{
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.75;
}
.bo-hero-orb--a{
  width: 520px;
  height: 520px;
  left: -210px;
  top: -210px;
  background: radial-gradient(circle at 30% 30%, rgba(234,88,12,0.22), transparent 60%);
}
.bo-hero-orb--b{
  width: 520px;
  height: 520px;
  right: -230px;
  bottom: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,0.18), transparent 62%);
}
.bo-hero-grid{
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, rgba(11,18,32,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 20% 0%, rgba(0,0,0,1), rgba(0,0,0,0.35), rgba(0,0,0,0));
}

.bo-hero-inner {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  align-items: start;
}
@media (max-width: 980px) { .bo-hero-inner { grid-template-columns: 1fr; } }

.bo-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--bo-radius-pill);
  background: rgba(234, 88, 12, 0.12);
  color: var(--bo-accent);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}

.bo-hero-title {
  margin: 0 0 10px;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.06;
  color: var(--bo-ink);
  font-weight: 950;
  letter-spacing: -0.02em;
}
.bo-hero-title span { color: var(--bo-accent); }

.bo-hero-sub {
  margin: 0 0 14px;
  color: var(--bo-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 68ch;
}

.bo-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.bo-btn-primary,
.bo-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bo-btn-primary {
  background: linear-gradient(135deg, var(--bo-accent), var(--bo-accent-2));
  color: #ffffff;
  box-shadow: var(--bo-shadow-soft);
}
.bo-btn-primary:hover { transform: translateY(-2px); }

.bo-btn-ghost {
  background: rgba(234, 88, 12, 0.08);
  border-color: rgba(234, 88, 12, 0.30);
  color: var(--bo-accent);
}
.bo-btn-ghost:hover {
  background: var(--bo-accent);
  color: #ffffff;
  border-color: var(--bo-accent);
}

/* mini highlight card */
.bo-hero-mini { margin-top: 18px; }
.bo-mini-card{
  border: 1px solid rgba(234, 88, 12, 0.18);
  background: rgba(255, 247, 237, 0.80);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}
.bo-mini-top{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bo-mini-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bo-accent);
  box-shadow: 0 0 0 6px rgba(234, 88, 12, 0.14);
}
.bo-mini-label{
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.85);
}
.bo-mini-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.bo-mini-list li{
  font-size: 13px;
  color: rgba(11, 18, 32, 0.86);
  line-height: 1.6;
  font-weight: 750;
  position: relative;
  padding-left: 22px;
}
.bo-mini-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--bo-accent);
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.12);
}

/* hero right */
.bo-hero-card {
  position: relative;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--bo-radius-lg);
  box-shadow: var(--bo-shadow-soft);
  padding: 18px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.bo-hero-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(15,23,42,0.06);
}
.bo-hero-pill {
  position: absolute;
  inset: auto 14px 14px auto;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.78);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 850;
}
.bo-hero-meta h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  color: var(--bo-ink);
}
.bo-hero-meta p {
  margin: 0;
  font-size: 13px;
  color: var(--bo-muted);
  line-height: 1.7;
}

/* hero badges */
.bo-hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.bo-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.9);
  border: 1px solid rgba(234, 88, 12, 0.18);
  font-size: 12px;
  font-weight: 850;
  color: rgba(11,18,32,0.84);
}
.bo-badge i{ color: var(--bo-accent); }

/* =============== TEXT SYSTEM =============== */
.bo-eyebrow {
  font-size: 13px;
  font-weight: 950;
  color: var(--bo-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 8px;
}
.bo-section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.1vw, 34px);
  color: var(--bo-ink);
  font-weight: 950;
  letter-spacing: -0.01em;
}
.bo-section-text {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--bo-muted);
  line-height: 1.85;
}

/* =============== OVERVIEW =============== */
.bo-overview {
  background: var(--bo-bg);
  padding: clamp(56px, 7vh, 96px) 0;
}
.bo-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
}
@media (max-width: 980px) { .bo-overview-grid { grid-template-columns: 1fr; } }

.bo-check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.bo-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(11, 18, 32, 0.90);
  font-weight: 800;
  line-height: 1.65;
}
.bo-check-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--bo-accent);
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.14);
  margin-top: 9px;
}

.bo-overview-media img{
  border-radius: 18px;
  box-shadow: var(--bo-shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* =============== BULLETS SECTION =============== */
.bo-bullets{
  background: var(--bo-surface);
  padding: clamp(56px, 7vh, 96px) 0;
}
.bo-bullets-head{ max-width: 850px; }
.bo-bullets-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  margin-top: 18px;
}
@media (max-width: 980px){ .bo-bullets-grid{ grid-template-columns: 1fr; } }
.bo-bullets-media img{
  border-radius: 18px;
  box-shadow: var(--bo-shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Shared list style */
.bo-feature-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}
.bo-feature-list li{
  position: relative;
  padding-left: 24px;
  margin: 0;
  color: rgba(11, 18, 32, 0.88);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
}
.bo-feature-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--bo-accent);
  box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.14);
}

/* =============== OUR ADVANTAGE =============== */
.bo-advantage{
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 48%, #ffffff 100%);
  padding: clamp(62px, 8vh, 110px) 0;
  overflow: hidden;
}
.bo-adv-bg{ position: absolute; inset: 0; pointer-events: none; }
.bo-adv-glow{
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.6;
}
.bo-adv-glow--a{
  left: -220px;
  top: 140px;
  background: radial-gradient(circle at 40% 40%, rgba(234,88,12,0.18), transparent 62%);
}
.bo-adv-glow--b{
  right: -240px;
  top: -180px;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,0.14), transparent 64%);
}

.bo-advantage-head{ margin-bottom: 18px; position: relative; }
.bo-advantage-title{
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--bo-ink);
}
.bo-advantage-sub{
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--bo-muted);
  max-width: 75ch;
  line-height: 1.8;
}

/* grid */
.bo-advantage-grid{
  position: relative;
  display: grid;
  gap: 18px;
  align-items: stretch;
}
.bo-advantage-grid--6{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px){
  .bo-advantage-grid--6{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .bo-advantage-grid--6{ grid-template-columns: 1fr; }
}

/* card */
.bo-adv-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
  padding: 20px 18px 20px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.bo-adv-card::after{
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(234,88,12,0.12), transparent 62%);
  transform: rotate(25deg);
  pointer-events: none;
}
.bo-adv-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(234, 88, 12, 0.20);
}

/* icon tile */
.bo-adv-icon{
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  /* border: 2px solid rgba(234, 88, 12, 0.22); */
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.bo-adv-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bo-adv-card-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 950;
  color: var(--bo-ink);
  line-height: 1.25;
}
.bo-adv-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(11, 18, 32, 0.72);
  font-weight: 700;
}

.bo-adv-cta{ margin-top: 18px; position: relative; }
.bo-adv-cta-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 18px;
  padding: 16px 16px;
  background: rgba(255, 247, 237, 0.85);
  border: 1px solid rgba(234, 88, 12, 0.18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}
@media (max-width: 780px){
  .bo-adv-cta-card{ flex-direction: column; align-items: flex-start; }
}
.bo-adv-cta-card h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 950;
  color: var(--bo-ink);
}
.bo-adv-cta-card p{
  margin: 0;
  font-size: 14px;
  color: var(--bo-muted);
  line-height: 1.7;
  max-width: 70ch;
}

/* =============== APPLICATIONS =============== */
.bo-industries {
  background: var(--bo-surface);
  padding: clamp(56px, 7vh, 96px) 0;
}
.bo-industries-header { margin-bottom: 18px; }
.bo-industries-header p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--bo-muted);
  max-width: 780px;
  line-height: 1.85;
}
.bo-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 1100px) { .bo-industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .bo-industries-grid { grid-template-columns: 1fr; } }

.bo-industry-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--bo-border);
  box-shadow: var(--bo-shadow-card);
  padding: 16px 16px 18px;
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bo-industry-card:hover{
  transform: translateY(-2px);
  border-color: rgba(234, 88, 12, 0.20);
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
}
.bo-industry-title {
  margin: 0;
  font-size: 15px;
  font-weight: 950;
  color: var(--bo-ink);
}
.bo-industry-text {
  margin: 0;
  font-size: 14px;
  color: var(--bo-muted);
  line-height: 1.75;
}

/* ============ MISSION / VISION / VALUES ============ */
.bo-mvv-section {
  background: #ffffff;
  padding: clamp(56px, 7vh, 96px) 0;
}
.bo-mvv-tabs {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: #f3f4f6;
  margin-bottom: clamp(28px, 4vh, 36px);
  gap: 6px;
}
.bo-mvv-tab {
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  color: var(--bo-muted);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bo-mvv-tab.is-active {
  background: #ffffff;
  color: var(--bo-ink);
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}
.bo-mvv-content-wrap { position: relative; }
.bo-mvv-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
}
.bo-mvv-content.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.bo-mvv-text { flex: 1; }
.bo-mvv-text h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 950;
  color: var(--bo-ink);
}
.bo-mvv-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--bo-muted);
}
.bo-mvv-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 780px) {
  .bo-mvv-content.is-active { flex-direction: column; align-items: flex-start; }
  .bo-mvv-image { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .bo-reveal{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
