/* ==========================================================================
   Strategy Partners — Global Styles & Design System
   ========================================================================== */

:root {
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-cyan: #06b6d4;
  --border-color: #1f2937;
  --border-highlight: #374151;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Accessibility & Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  canvas#brain-hero,
  canvas#bg-particles,
  .particle-layer,
  .thought-bubble {
    animation: none !important;
    transition: none !important;
  }
}

/* Background Particle Layer */
.particle-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

/* Layout Containers & Spacing */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-cyan); font-weight: 700; }

/* Global Typography */
h1, h2, h3, h4 {
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

.page-intro {
  margin-bottom: 3rem;
  max-width: 800px;
}

.page-title {
  font-size: 2.5rem;
  margin: 1rem 0 0.75rem 0;
}

.page-subhead {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.7;
}

.badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid var(--border-highlight);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: #6b7280;
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.btn-outline:hover {
  background-color: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
}

.btn-block {
  width: 100%;
}

/* Feature Bullets */
.feature-bullets {
  list-style: none;
  margin: 1rem 0;
}

.feature-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.feature-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  text-decoration: none;
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.logo-text strong {
  color: var(--accent-cyan);
  font-weight: 800;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active {
  color: var(--accent-cyan);
}

.nav-cta {
  padding: 0.4rem 1rem;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

/* Bottom Call to Action Section */
.bottom-cta-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.bottom-cta-box {
  background: linear-gradient(135deg, #111827 0%, #1e293b 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.bottom-cta-box h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.bottom-cta-box p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: #060910;
  padding: 3rem 0 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand .footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }
}
