:root {
  --color-primary: #0a0a23;
  --color-secondary: #009a3e;
  --color-accent-blue: #057dcd;
  --color-accent-green: #0f8f42;
  --color-accent-yellow: #f5a623;
  --color-background: #ffffff;
  --color-surface: #f5f8fb;
  --color-border: #e1e5eb;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--color-background);
  color: var(--color-primary);
}
/* Header & navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--color-secondary);
}
/* Section styles */
section {
  padding: 4rem 1rem;
}
.section-header {
  max-width: 1200px;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-header h2 {
  margin: 0;
  font-size: 2rem;
}
.section-header p {
  margin-top: 0.75rem;
  color: #4a4a68;
  line-height: 1.6;
}
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.card p {
  margin-top: 0;
  color: #5a5a7a;
  line-height: 1.5;
}
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}
/* Gradient backgrounds for each section to loosely mirror the demo */
.bg-blue {
  background: linear-gradient(180deg, #004b83 0%, #016fa0 100%);
  color: white;
}
.bg-green {
  background: linear-gradient(180deg, #0b5d20 0%, #187d3a 100%);
  color: white;
}
.bg-teal {
  background: linear-gradient(180deg, #04665f 0%, #0d9288 100%);
  color: white;
}
.bg-orange {
  background: linear-gradient(180deg, #874007 0%, #d77a17 100%);
  color: white;
}
.bg-purple {
  background: linear-gradient(180deg, #331e76 0%, #54339f 100%);
  color: white;
}
.bg-gray {
  background: linear-gradient(180deg, #343a40 0%, #495057 100%);
  color: white;
}
.bg-brown {
  background: linear-gradient(180deg, #543505 0%, #865b22 100%);
  color: white;
}
/* ensure charts contrast on dark backgrounds */
canvas {
  background: transparent;
}

/* Hero styles */
.hero {
  background: linear-gradient(180deg, #004b83 0%, #026aa7 100%);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.2;
}
.hero p {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0eaf5;
}
.hero-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--color-secondary);
  color: white;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

/* Feature section */
.features {
  padding: 4rem 1rem;
  background: var(--color-surface);
}
.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-size: 1.2rem;
}
.feature-card p {
  margin: 0;
  color: #5a5a7a;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Compliance section */
.compliance {
  padding: 4rem 1rem;
  background: var(--color-surface);
}
.compliance-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.comp-group h4 {
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
  font-size: 1.1rem;
}
.comp-group ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
  color: #5a5a7a;
}
.comp-group ul li {
  margin-bottom: 0.25rem;
}

/* Standards section */
.standards {
  padding: 4rem 1rem;
  background: var(--color-surface);
}
.standards-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.standard-item {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: white;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.9rem;
}
