/* ================================ */
/* GLOBAL NAV — UNIFIED BARAI SYSTEMS */
/* ================================ */

.global-nav {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  font-size: 12px;
}

.global-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.92);
  color: rgba(226,232,240,0.96);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15,23,42,0.8);
  backdrop-filter: blur(10px);
}

.global-nav-toggle .logo {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: radial-gradient(circle at 25% 0, rgba(56,189,248,0.9), #020617);
}

.global-nav-panel {
  position: absolute;
  top: 38px;
  left: 0;
  width: 230px;
  border-radius: 16px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.7);
  box-shadow: 0 22px 50px rgba(15,23,42,0.95);
  padding: 10px;
  margin-top: 6px;
  backdrop-filter: blur(18px);
  display: none;
}

.global-nav-panel.open {
  display: block;
}

.global-nav-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148,163,184,0.95);
  margin-bottom: 6px;
}

.global-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.global-nav-links li a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 10px;
  text-decoration: none;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(31,41,55,0.95);
  color: rgba(226,232,240,0.98);
  font-size: 11px;
}

.global-nav-links li a:hover {
  border-color: rgba(56,189,248,0.85);
  background: radial-gradient(circle at 0 0, rgba(56,89,248,0.18), rgba(15,23,42,0.98));
}

.global-nav-footer {
  margin-top: 8px;
  font-size: 10px;
  color: rgba(148,163,184,0.95);
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.global-nav-footer .badge {
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.7);
  color: rgba(191,219,254,0.98);
  background: rgba(8,47,73,0.98);
  font-size: 9px;
}

/* ROOT VARIABLES */
:root {
  --bg-main: #f5f7fb;
  --bg-soft: #ffffff;
  --bg-soft-alt: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;

  --accent: #02b3ff;
  --accent-soft: rgba(2, 179, 255, 0.14);
  --accent-strong: #0284c7;

  --border-subtle: #e5e7eb;
  --border-strong: #cbd5f5;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background:
    radial-gradient(1100px circle at -10% -20%, rgba(2, 179, 255, 0.06), transparent 60%),
    radial-gradient(900px circle at 110% 120%, rgba(37, 99, 235, 0.04), transparent 55%),
    var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* =============================== */
/* TOP ENTERPRISE NAVBAR (PURE WHITE) */
/* =============================== */

.bs-topnav {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  position: relative;
  z-index: 20;
}

.bs-nav-inner {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.bs-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bs-nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.bs-nav-brand {
  font-size: 16px;
  letter-spacing: 0.5px;
  color: #1e293b;
  opacity: 0.9;
}

.bs-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-nav-item {
  position: relative;
  cursor: pointer;
}

.bs-nav-label {
  font-size: 15px;
  color: #334155;
  padding: 4px 0;
}

.bs-nav-label:hover {
  color: #0f172a;
}

.bs-dropdown {
  position: absolute;
  top: 28px;
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-radius: 8px;
  display: none;
  min-width: 180px;
  padding: 8px 0;
  z-index: 30;
}

.bs-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #334155;
  text-decoration: none;
}

.bs-dropdown a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.bs-nav-item:hover .bs-dropdown {
  display: block;
}

/* =============================== */
/* TOP RIBBON */
/* =============================== */

.top-ribbon {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 14px;
  color: #0f172a;
  background:
    linear-gradient(
      90deg,
      rgba(2, 179, 255, 0.08),
      rgba(148, 163, 184, 0.35),
      rgba(2, 179, 255, 0.08)
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

/* =============================== */
/* SECTION BASE */
/* =============================== */

section {
  padding: 72px 18px;
}

@media (min-width: 960px) {
  section {
    padding: 90px 32px;
  }
}

h1, h2, h3, p {
  margin: 0;
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 28px;
}

.highlight {
  color: var(--accent-strong);
}

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

.hero {
  padding-top: 56px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero-left h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

/* Buttons */
.cta-primary,
.cta-secondary {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cta-primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: white;
  box-shadow: 0 16px 35px rgba(2,132,199,0.35);
}

.cta-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,0.7);
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-frame {
  max-width: 430px;
  border-radius: var(--radius-xl);
  padding: 14px;
  background:
    radial-gradient(circle at 0 0, rgba(2,179,255,0.14), transparent 60%),
    #020617;
  border: 1px solid rgba(148,163,184,0.7);
}

.hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.9);
  object-fit: cover;
  background: black;
}

/* =============================== */
/* PILLARS */
/* =============================== */

.pillars {
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  box-shadow: 0 14px 35px rgba(148,163,184,0.18);
}

/* =============================== */
/* EXPLAINER */
/* =============================== */

.explainer {
  border-top: 1px solid rgba(209, 213, 219, 0.7);
  background: linear-gradient(180deg, rgba(241,245,249,0.7), white);
}

.explainer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* =============================== */
/* VALUE STACK */
/* =============================== */

.value-stack {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.value-grid {
  max-width: 980px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

footer {
  padding: 28px 18px 38px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  background: #ffffff;
}

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

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pillar-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
}
