/* =============================================
   COMPANY PAGE — Compact, vibrant, no-scroll
   ============================================= */

.co-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #030712;
  color: #f1f5f9;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 20px;
  gap: 0;
}

/* ---- Ambient glows ---- */
.co-bg-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}

.co-bg-glow-1 { width: 500px; height: 500px; top: -120px; left: -100px; background: rgba(59, 130, 246, 0.12); }
.co-bg-glow-2 { width: 350px; height: 350px; bottom: 40px; right: -60px; background: rgba(139, 92, 246, 0.09); }
.co-bg-glow-3 { width: 300px; height: 300px; top: 40%; left: 50%; transform: translateX(-50%); background: rgba(59, 130, 246, 0.05); }

.co-page > *:not(.co-bg-glow) { position: relative; z-index: 1; }

/* ---- Header ---- */
.co-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto 14px;
  width: 100%;
}

.co-header-left { flex: 0 0 340px; min-width: 0; }

.co-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  margin-bottom: 8px;
}

.co-badge svg { font-size: 15px; color: #60a5fa; }
.co-badge span { font-size: 0.68rem; font-weight: 700; color: #93c5fd; text-transform: uppercase; letter-spacing: 0.1em; }

.co-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 6px;
}

.co-title span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.co-mission {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.75);
  margin: 0 0 10px;
  max-width: 440px;
}

.co-header-cta { display: flex; gap: 8px; }

.co-btn-primary {
  background: #3b82f6 !important; color: #fff !important;
  font-weight: 600 !important; text-transform: none !important;
  border-radius: 9px !important; padding: 6px 20px !important; font-size: 0.8rem !important;
}
.co-btn-primary:hover { background: #2563eb !important; }

.co-btn-secondary {
  border-color: rgba(148, 163, 184, 0.3) !important; color: #94a3b8 !important;
  font-weight: 600 !important; text-transform: none !important;
  border-radius: 9px !important; padding: 6px 20px !important; font-size: 0.8rem !important;
}
.co-btn-secondary:hover { border-color: rgba(59, 130, 246, 0.4) !important; color: #60a5fa !important; }

/* Leaders + Timeline (desktop only — inside header-right) */
.co-header-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.co-leaders-inline {
  display: flex;
  gap: 10px;
}

.co-leader-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  flex: 1;
  transition: border-color 0.3s;
}

.co-leader-mini:hover { border-color: rgba(59, 130, 246, 0.25); }

.co-leader-mini img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.co-leader-mini div { display: flex; flex-direction: column; }
.co-leader-mini strong { font-size: 0.75rem; color: #e2e8f0; }
.co-leader-mini span { font-size: 0.58rem; color: #60a5fa; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.co-leader-mini em { font-style: normal; font-size: 0.65rem; color: rgba(203, 213, 225, 0.55); line-height: 1.35; margin-top: 2px; }

/* Leaders mobile (shown below header on small screens) */
.co-leaders-mobile { display: none; }

/* =============================================
   HORIZONTAL TIMELINE — Alternating cards
   ============================================= */
.co-tl {
  width: 100%;
  margin: 0;
}

.co-tl-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.25) transparent;
  padding-bottom: 6px;
}

.co-tl-scroll::-webkit-scrollbar { height: 3px; }
.co-tl-scroll::-webkit-scrollbar-track { background: transparent; }
.co-tl-scroll::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.2); border-radius: 3px; }

.co-tl-track {
  display: flex;
  flex-direction: column;
  min-width: max-content;
  gap: 0;
}

/* Rows */
.co-tl-row {
  display: flex;
}

.co-tl-cell {
  width: 108px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 2px;
}

.co-tl-row-top .co-tl-cell { align-items: flex-end; min-height: 68px; }
.co-tl-row-bottom .co-tl-cell { align-items: flex-start; min-height: 68px; }

/* Cards */
.co-tl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  width: 100px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.co-tl-card:hover {
  border-color: var(--accent, rgba(59, 130, 246, 0.3));
  transform: translateY(-2px);
}

.co-tl-card-hl {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.06));
  border-color: var(--accent, rgba(59, 130, 246, 0.2));
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.co-tl-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.co-tl-card-icon svg { font-size: 16px; }

.co-tl-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}

.co-tl-card-desc {
  font-size: 0.55rem;
  color: rgba(148, 163, 184, 0.6);
  line-height: 1.3;
  margin-top: 1px;
}

.co-tl-card-date {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--accent, #60a5fa);
  margin-top: 4px;
  opacity: 0.7;
}

/* Arrows connecting card to line */
.co-tl-card-arrow-down {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid rgba(255, 255, 255, 0.06);
}

.co-tl-card-arrow-up {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.06);
}

/* Line row */
.co-tl-line-row {
  display: flex;
  position: relative;
  height: 14px;
  align-items: center;
}

.co-tl-line-row .co-tl-cell {
  align-items: center;
  min-height: auto;
  height: 14px;
}

.co-tl-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.3),
    rgba(59, 130, 246, 0.5) 15%,
    rgba(139, 92, 246, 0.4) 50%,
    rgba(59, 130, 246, 0.5) 85%,
    rgba(59, 130, 246, 0.8)
  );
  transform: translateY(-50%);
  z-index: 0;
}

.co-tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  border: 2px solid #0f172a;
  transition: transform 0.3s;
}

.co-tl-cell:hover .co-tl-dot { transform: scale(1.4); }

.co-tl-dot-hl {
  width: 14px;
  height: 14px;
}

/* ---- Legal — certificate + details ---- */
.co-legal {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.co-legal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.co-legal-header-icon {
  font-size: 20px !important;
  color: #10b981;
}

.co-legal-title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}

.co-legal-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.co-cert-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.co-cert-img {
  width: 220px;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.co-cert-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.co-cert-caption {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.co-legal-details {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.co-legal-item {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.co-legal-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
}

.co-legal-item:last-child {
  grid-column: 1 / -1;
}

.co-legal-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.co-legal-value {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.4;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .co-header { flex-direction: column; gap: 16px; }
  .co-header-left { flex: none; width: 100%; }
  .co-header-right { width: 100%; }
  .co-leaders-inline { flex-direction: column; }
  .co-legal-layout { flex-direction: row; }
  .co-cert-img { width: 180px; }
}

@media (max-width: 500px) {
  .co-page { padding: 80px 14px 20px; }
  .co-header-cta { flex-direction: column; width: 100%; }
  .co-btn-primary, .co-btn-secondary { width: 100% !important; justify-content: center !important; }
  .co-legal-layout { flex-direction: column; align-items: center; }
  .co-legal-details { grid-template-columns: 1fr; width: 100%; }
  .co-legal-item:last-child { grid-column: auto; }
}
