:root {
  /* Brand Palette */
  --color-midnight: #053762;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray: #F2F2F2;
  
  /* Modern Dark Theme Mappings */
  --bg-body: #050a10; /* Very dark blue-black to match midnight theme */
  --bg-card: #08121f; /* Slightly lighter dark */
  --bg-accent: #053762; /* The brand midnight blue */
  --bg-accent-hover: #0a4b82;
  
  --text-main: #FFFFFF;
  --text-muted: #a1a1aa;
  
  --primary-gradient: linear-gradient(135deg, #053762 0%, #0891b2 100%);
  --border-color: #1e293b;
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 48px;
  --spacing-xxl: 80px;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --shadow-card: 0 10px 30px -10px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(5, 55, 98, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-white);
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; letter-spacing: -0.01em; margin-bottom: var(--spacing-lg); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacing-sm); }

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  max-width: 65ch;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grid {
  display: grid;
  gap: var(--spacing-lg);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.mt-xl { margin-top: var(--spacing-xl); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.py-xxl { padding-top: var(--spacing-xxl); padding-bottom: var(--spacing-xxl); }

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.05);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--bg-accent);
  box-shadow: var(--shadow-card);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(5, 55, 98, 0.3);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 10, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-md) 0;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: white;
}

/* Hero */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5,55,98,0.4) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
}

.placeholder-ui {
  width: 100%;
  height: 400px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

/* Feature Grid Icons */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(5, 55, 98, 0.3);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

/* Compliance Section */
.compliance-section {
  background: linear-gradient(180deg, var(--bg-body) 0%, #020610 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.check-icon {
  color: #10b981;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: black;
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-xl) 0;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .nav-links { display: none; }
  .hero { padding-top: 120px; text-align: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
}

/* Dashboard Component Styles */
.dashboard-preview { padding: 24px; text-align: center; }
.dashboard-stats { display: flex; gap: 12px; margin-top: 24px; }
.stat-box { flex: 1; background: rgba(255,255,255,0.05); padding: 16px; border-radius: 8px; }
.stat-number { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.text-cyan { color: #38bdf8; }
.text-green { color: #4ade80; }
.activity-list { margin-top: 24px; text-align: left; }
.activity-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.activity-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; }
.activity-time { margin-left: auto; font-size: 0.8rem; color: var(--text-muted); }

/* Sector Icons */
.sector-card { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 32px; }
.sector-icon { width: 64px; height: 64px; margin-bottom: 16px; color: #38bdf8; opacity: 0.8; }

/* CTA Card */
.cta-card { background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); padding: 48px; border: 1px solid rgba(255,255,255,0.1); }
