/* proSphere brand styles — edit colors and fonts here */

:root {
  --navy: #0D1B2A;
  --deep-blue: #0A56C2;
  --medium-blue: #27A4FF;
  --light-blue: #7DBBFF;
  --brand-grey: #6B7280;
  --light-grey: #E5E7EB;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--navy);
}

html {
  scroll-behavior: smooth;
}

.text-navy { color: var(--navy) !important; }
.text-deep-blue { color: var(--deep-blue) !important; }
.text-medium-blue { color: var(--medium-blue) !important; }
.text-light-blue { color: var(--light-blue) !important; }
.text-brand-grey { color: var(--brand-grey) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-light-grey { background-color: var(--light-grey) !important; }

.gradient-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #0A56C2 50%, #27A4FF 100%);
}

.gradient-cta {
  background: linear-gradient(135deg, #0A56C2 0%, #27A4FF 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #0A56C2, #27A4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deep-blue);
}

.navbar {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
}

.navbar-brand .pro { color: var(--navy); font-weight: 700; }
.navbar-brand .sphere { color: var(--deep-blue); font-weight: 700; }

.btn-brand {
  background: linear-gradient(135deg, #0A56C2, #27A4FF);
  border: none;
  color: #fff;
  font-weight: 600;
}

.btn-brand:hover {
  opacity: 0.92;
  color: #fff;
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 86, 194, 0.12);
}

.hero-tagline {
  letter-spacing: 0.2em;
  font-size: 0.875rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.module-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(10, 86, 194, 0.08);
  color: var(--deep-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.module-card:hover .module-icon {
  background: rgba(10, 86, 194, 0.14);
}

.module-category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medium-blue);
}

/* Dashboard mockup */
.dashboard-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(13, 27, 42, 0.15);
  border: 1px solid var(--light-grey);
}

.dashboard-titlebar {
  background: var(--navy);
  padding: 0.75rem 1rem;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dashboard-sidebar {
  background: var(--navy);
  width: 72px;
  min-height: 420px;
  padding: 1rem 0.5rem;
}

.sidebar-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1rem;
}

.sidebar-item.active {
  background: var(--deep-blue);
  color: #fff;
}

.kpi-card {
  border: 1px solid var(--light-grey);
  border-radius: 12px;
  padding: 0.875rem;
  height: 100%;
}

.kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.progress-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 6px solid var(--light-blue);
  border-top-color: var(--deep-blue);
  border-right-color: var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.bar-chart span {
  flex: 1;
  background: linear-gradient(180deg, var(--medium-blue), var(--deep-blue));
  border-radius: 4px 4px 0 0;
  min-width: 12px;
}

.issue-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.issue-open { background: #FEF3C7; color: #92400E; }
.issue-progress { background: #DBEAFE; color: #1E40AF; }
.issue-resolved { background: #D1FAE5; color: #065F46; }

.mobile-preview {
  position: absolute;
  bottom: -24px;
  right: -16px;
  width: 160px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(13, 27, 42, 0.2);
  border: 1px solid var(--light-grey);
}

.project-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 0.8rem;
}

.project-row:last-child {
  border-bottom: none;
}

.feature-icon,
.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 86, 194, 0.1);
  color: var(--deep-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

footer a:hover {
  color: var(--light-blue) !important;
}

@media (max-width: 767px) {
  .dashboard-sidebar {
    display: none;
  }
}
