/* ============================================
   Company / About Page — Light Theme
   Prefix: cbr-
   ============================================ */

.cbr-page {
  background: #F8FAFC;
  font-family: var(--hero-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  padding-bottom: 80px;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* ---------- Breadcrumb ---------- */
.cbr-breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: #94A3B8;
}
.cbr-breadcrumb a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}
.cbr-breadcrumb a:hover { color: #0EA5E9; }
.cbr-sep { margin: 0 8px; color: #CBD5E1; }
.cbr-current { color: #475569; font-weight: 500; }

/* ---------- Hero ---------- */
.cbr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 64px;
}

.cbr-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.cbr-hero-title {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0F172A;
  margin: 0 0 20px;
}

.cbr-accent {
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cbr-hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 32px;
  max-width: 480px;
}

.cbr-hero-stats {
  display: flex;
  gap: 32px;
}

.cbr-stat {
  display: flex;
  flex-direction: column;
}

.cbr-stat-num {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #0EA5E9;
  letter-spacing: -0.02em;
}

.cbr-stat-label {
  font-size: 13px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 2px;
}

.cbr-hero-image {
  position: relative;
}

.cbr-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(14, 165, 233, 0.12), 0 2px 8px rgba(0,0,0,0.04);
}

/* ---------- Mission ---------- */
.cbr-mission {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 80px;
  padding: 56px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 8px 32px rgba(0,0,0,0.04);
  position: relative;
}

.cbr-mission-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.cbr-section-title {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
}

.cbr-mission-text {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  margin: 0;
}

/* ---------- Value Props ---------- */
.cbr-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.cbr-value-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 24px rgba(0,0,0,0.03);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cbr-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0EA5E9, #6366F1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cbr-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.12);
}

.cbr-value-card:hover::before {
  opacity: 1;
}

.cbr-value-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(99, 102, 241, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbr-value-icon img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
}

.cbr-value-card h3 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.cbr-value-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* ---------- Beliefs ---------- */
.cbr-beliefs {
  margin-bottom: 80px;
  text-align: center;
}

.cbr-beliefs .cbr-section-title {
  margin-bottom: 40px;
}

.cbr-belief-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.cbr-belief {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.cbr-belief:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.cbr-belief-num {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.cbr-belief h4 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 10px;
}

.cbr-belief p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* ---------- Team ---------- */
.cbr-team {
  text-align: center;
  margin-bottom: 80px;
}

.cbr-team .cbr-section-title {
  margin-bottom: 8px;
}

.cbr-team-intro {
  font-size: 16px;
  color: #64748B;
  margin: 0 0 40px;
}

.cbr-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.cbr-team-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 24px rgba(0,0,0,0.03);
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbr-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
}

.cbr-team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 3px solid #E2E8F0;
}

.cbr-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.cbr-team-card h4 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
}

.cbr-team-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0EA5E9;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.cbr-team-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #64748B;
  margin: 0;
}

/* ---------- Initials Avatars ---------- */
.cbr-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cbr-avatar-initials::after {
  content: attr(data-initials);
}

/* ---------- AI Team Section ---------- */
.cbr-ai-team {
  text-align: center;
  margin-bottom: 80px;
}

.cbr-ai-team .cbr-section-title {
  margin-bottom: 8px;
}

.cbr-bmad-link {
  font-size: 13px;
  color: #0EA5E9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.cbr-bmad-link:hover {
  color: #0284C7;
  text-decoration: underline;
}

/* Jennifer Featured Card */
.cbr-ai-featured {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 24px rgba(0,0,0,0.03);
  margin: 32px auto 36px;
  max-width: 680px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbr-ai-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0EA5E9, #6366F1, #EC4899);
}

.cbr-ai-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
}

.cbr-ai-featured-avatar .cbr-team-avatar {
  width: 100px;
  height: 100px;
  font-size: 36px;
  flex-shrink: 0;
}

.cbr-ai-featured-info h4 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 4px;
}

.cbr-role-ai {
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cbr-ai-featured-info p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 10px 0 14px;
}

.cbr-ai-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cbr-ai-cap {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #0EA5E9;
  background: rgba(14, 165, 233, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

/* BMAD Agent Grid */
.cbr-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.cbr-ai-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 2px 12px rgba(0,0,0,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cbr-ai-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.cbr-ai-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cbr-ai-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.cbr-ai-card-avatar span {
  color: #fff;
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 18px;
  font-weight: 800;
}

.cbr-ai-card-info {
  flex: 1;
  min-width: 0;
}

.cbr-ai-card-info h5 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cbr-ai-type {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  display: block;
  margin-top: 1px;
}

.cbr-ai-caps-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cbr-ai-caps-mini span {
  font-size: 10px;
  font-weight: 500;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cbr-ai-featured {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .cbr-ai-capabilities {
    justify-content: center;
  }

  .cbr-ai-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .cbr-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CTA ---------- */
.cbr-cta {
  text-align: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 20px;
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.cbr-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cbr-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cbr-cta h2 {
  font-family: var(--hero-font-display, 'Plus Jakarta Sans', 'Inter', sans-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.cbr-cta p {
  font-size: 16px;
  color: #94A3B8;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.cbr-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cbr-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #0EA5E9, #38BDF8);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cbr-btn-primary:hover {
  background: linear-gradient(135deg, #0284C7, #0EA5E9);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.35);
}

.cbr-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #CBD5E1 !important;
  border: 1.5px solid rgba(203, 213, 225, 0.3);
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cbr-btn-secondary:hover {
  border-color: rgba(203, 213, 225, 0.6);
  color: #fff !important;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal ---------- */
.cbr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cbr-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .cbr-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 48px;
  }

  .cbr-hero-text { order: 1; }
  .cbr-hero-image { order: 2; }

  .cbr-hero-desc {
    max-width: 100%;
  }

  .cbr-values {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cbr-belief-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cbr-hero-title {
    font-size: 28px;
  }

  .cbr-hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .cbr-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .cbr-mission {
    padding: 36px 24px;
    margin-bottom: 48px;
  }

  .cbr-value-card {
    padding: 28px 22px;
  }

  .cbr-cta {
    padding: 40px 24px;
  }

  .cbr-team-card {
    padding: 32px 24px;
  }

  .cbr-team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .cbr-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cbr-value-card,
  .cbr-belief,
  .cbr-team-card {
    transition: none;
  }
}

.cbr-btn-primary:focus-visible,
.cbr-btn-secondary:focus-visible {
  outline: 2px solid #0EA5E9;
  outline-offset: 2px;
}
