:root {
  /* BDM360 Color Scheme */
  --brand: #0ea5e9; /* sky-500 - primary sky blue */
  --brand-light: #38bdf8; /* sky-400 */
  --brand-dark: #0284c7; /* sky-600 */
  --accent: #14b8a6; /* teal-500 - accent teal */
  --accent-light: #5eead4; /* teal-300 */
  
  /* Backgrounds - Modern gradient dark theme */
  --bg: #111827; /* gray-900 */
  --bg-secondary: #1f2937; /* gray-800 */
  --surface: #374151; /* gray-700 */
  --surface-light: #4b5563; /* gray-600 */
  
  /* Text colors */
  --text: #f9fafb; /* white/gray-50 */
  --text-secondary: #d1d5db; /* gray-300 */
  --muted: #9ca3af; /* gray-400 */
  --text-invert: #111827;
  
  /* UI Elements */
  --ring: rgba(14,165,233,0.5);
  --card: #1f2937; /* gray-800 */
  --card-border: #374151; /* gray-700 */
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  --gradient-bg: linear-gradient(to bottom right, #111827 0%, #1f2937 100%);
}

/* Base styling */
* { box-sizing: border-box; }

body {
  background: var(--gradient-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers - Aetor-inspired clean spacing */
.container { 
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 3rem;
}

.section { 
  padding: 8rem 0;
  position: relative;
}

.section:first-of-type { padding-top: 10rem; }

.grid { 
  display: grid; 
  gap: 2rem;
}

.grid-3 { 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 { 
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 768px) {
  .container { padding: 0 2rem; }
  .section { padding: 6rem 0; }
  .section:first-of-type { padding-top: 8rem; }
  .grid { gap: 2rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 2rem; }
}

/* Cards & badges - Aetor-inspired clean design */
.card { 
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -12px rgba(14, 165, 233, 0.25);
  border-color: rgba(14, 165, 233, 0.3);
}

.badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  font-weight: 600; 
  font-size: 0.875rem;
  color: var(--text); 
  background: rgba(14, 165, 233, 0.1); 
  border: 1px solid rgba(14, 165, 233, 0.2); 
  padding: 0.5rem 1rem; 
  border-radius: 9999px;
  backdrop-filter: blur(10px);
}

.pill { 
  display: inline-block; 
  padding: 0.5rem 1rem; 
  border-radius: 9999px; 
  background: rgba(14, 165, 233, 0.15); 
  color: var(--brand-light); 
  border: 1px solid rgba(14, 165, 233, 0.3); 
  font-size: 0.875rem;
  font-weight: 500;
}

/* Buttons - Aetor-inspired clean design */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.75rem; 
  text-decoration: none; 
  font-weight: 600; 
  border-radius: 0.875rem; 
  padding: 1.125rem 2rem; 
  border: 1px solid transparent; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover { 
  transform: translateY(-3px);
}

.btn:active { 
  transform: translateY(-1px);
}

.btn-primary { 
  color: white; 
  background: var(--gradient-brand);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover { 
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  color: var(--brand);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.btn-ghost { 
  color: var(--text); 
  background: rgba(255,255,255,0.05); 
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--brand);
}

/* Typography - Aetor-inspired clean hierarchy */
h1, h2, h3, h4, h5, h6 { 
  color: var(--text);
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 { 
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

h2 { 
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 { 
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  color: var(--text-secondary);
  line-height: 1.3;
  font-weight: 600;
}

h4 { 
  font-size: 1.125rem;
  color: var(--text-secondary);
}

p { 
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.muted { color: var(--muted); }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation - Aetor-inspired clean design */
.nav { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 1.5rem 0; 
  position: sticky; 
  top: 0; 
  backdrop-filter: blur(20px); 
  background: rgba(17, 24, 39, 0.8); 
  border-bottom: 1px solid rgba(55, 65, 81, 0.3); 
  z-index: 50;
  transition: all 0.3s ease;
}

.nav a { 
  text-decoration: none; 
  color: var(--text);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand-light);
}

.nav .brand { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
  font-weight: 800; 
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-text {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.brand-accent {
  color: var(--brand-light);
}


@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.nav-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav .links { 
  display: flex; 
  gap: 2rem;
  font-weight: 500;
  flex: 1;
  justify-content: center;
}

.nav .cta { 
  display: flex; 
  gap: 1rem;
}

/* Mobile hamburger menu - CSS only approach */
.mobile-toggle {
  display: none;
}

.mobile-toggle-label {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.25rem;
  z-index: 60;
}

.hamburger {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-toggle:checked + .mobile-toggle-label .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle:checked + .mobile-toggle-label .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-toggle:checked + .mobile-toggle-label .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--card-border);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  z-index: 55;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-toggle:checked ~ .mobile-menu {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.2);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--brand-light);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(55, 65, 81, 0.2);
}

@media (max-width: 768px) {
  .nav .links {
    display: none;
  }
  
  .nav .cta {
    display: none;
  }
  
  .mobile-toggle-label {
    display: flex;
  }
  
  .nav { 
    padding: 1rem 0; 
  }
  
  .nav .brand {
    font-size: 1.125rem;
  }
  
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  
  .brand-text {
    font-size: 1.25rem;
  }
  
  /* Mobile button styles - smaller and more touch-friendly */
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    gap: 0.5rem;
  }
  
  .mobile-cta .btn {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }
}

/* Hero Section - Aetor-inspired clean design */
.hero { 
  padding: 12rem 0 10rem; 
  position: relative; 
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 60vh;
}

.hero-content {
  text-align: left;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-sheen { 
  position: absolute; 
  inset: -20%; 
  background: 
    radial-gradient(1000px 600px at 50% 0%, rgba(14, 165, 233, 0.15), transparent 60%),
    radial-gradient(800px 400px at 80% 100%, rgba(20, 184, 166, 0.1), transparent 50%);
  pointer-events: none; 
  filter: blur(40px);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.hero h1 strong { 
  color: white;
  position: relative;
}

.hero-sub { 
  margin: 0 auto 2.5rem;
  max-width: 600px;
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.hero-cta { 
  display: flex; 
  gap: 1rem; 
  align-items: center; 
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-meta { 
  display: flex; 
  gap: 2rem; 
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.8;
}

/* Dashboard Mockup Styling */
.dashboard-mockup {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.dashboard-image {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.25);
  border: 1px solid rgba(14, 165, 233, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px -12px rgba(14, 165, 233, 0.35);
}

.dashboard-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-brand);
  border-radius: 1.5rem;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.dashboard-mockup:hover::before {
  opacity: 0.2;
}

@media (max-width: 768px) {
  .hero { padding: 8rem 0 6rem; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .hero-meta { gap: 1.5rem; }
  .dashboard-mockup {
    max-width: 400px;
  }
}

/* Feature Lists - Clean, modern styling */
.feature-list { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 1.5rem;
}

.feature-item { 
  display: flex; 
  align-items: flex-start; 
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.feature-item:hover {
  background: rgba(14, 165, 233, 0.05);
}

.check { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 24px; 
  height: 24px; 
  border-radius: 50%; 
  background: rgba(20, 184, 166, 0.2); 
  color: var(--accent-light); 
  border: 1px solid rgba(20, 184, 166, 0.4); 
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.todo { 
  display: inline-flex; 
  width: 24px; 
  height: 24px; 
  align-items: center; 
  justify-content: center; 
  border-radius: 50%; 
  border: 2px dashed rgba(156, 163, 175, 0.4); 
  color: var(--muted); 
  flex-shrink: 0;
}

/* Role Cards - Enhanced styling */
.roles { 
  margin-top: 2rem;
}

.role-card {
  position: relative;
  overflow: hidden;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: 1rem 1rem 0 0;
}

.role-card h3 { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.role-items { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: grid; 
  gap: 0.75rem;
}

.role-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.3);
}

.role-items li:last-child {
  border-bottom: none;
}

/* Add-ons Grid - Modern card layout */
.addons-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 1.5rem;
}

.addon-card {
  position: relative;
  overflow: hidden;
}

.addon-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--gradient-brand);
  opacity: 0.1;
  border-radius: 0 0 0 60px;
}

@media (max-width: 768px) { 
  .addons-grid { 
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Footer - Clean, minimal styling */
.footer { 
  padding: 3rem 0 2rem; 
  border-top: 1px solid var(--card-border); 
  color: var(--muted); 
  font-size: 0.875rem;
  text-align: center;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(10px);
}

.footer p {
  margin: 0;
  opacity: 0.8;
}

/* Utilities - Extended spacing and layout helpers */
.center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Layout utilities */
.row { 
  display: flex; 
  gap: 1.5rem; 
  align-items: center; 
  flex-wrap: wrap;
}

.col { 
  display: flex; 
  flex-direction: column;
  gap: 1rem;
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Separators */
.sep { 
  height: 1px; 
  background: linear-gradient(90deg, transparent, var(--card-border), transparent); 
  margin: 3rem 0;
}

/* Anchor targets spacing under sticky nav */
.anchor { 
  position: relative; 
  top: -5rem;
}

/* Animations - Aetor-inspired smooth interactions */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Focus states for accessibility */
.btn:focus,
.nav a:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

