:root {
  --primary-color: #004b87;
  --secondary-color: #00284a;
  --accent-color: #0077cc;
  --success-color: #28a745;
  --warning-color: #dc3545;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --section-padding: 4rem 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem 0;
  position: relative;
}

.hero {
  text-align: center;
  padding: 3rem 0;
}

.logo {
  width: 850px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.value-prop {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

section {
  padding: var(--section-padding);
  background: white;
}

section:nth-child(even) {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-color);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

section:nth-child(even) .feature-card {
  background: white;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.use-case-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 1rem 0;
}

.cta-button:hover {
  background-color: var(--primary-color);
}

.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  opacity: 0.9;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.compliance-banner {
  background: var(--secondary-color);
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.sources-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 0;
}

.sources-section .section-title,
.sources-section .section-subtitle {
  color: white;
}

footer {
  background: var(--secondary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.text-center {
  text-align: center;
}

.contact-form form {
  text-align: center;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.privacy-content h2 {
  color: var(--secondary-color);
  margin: 2rem 0 1rem;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

footer .spearslabs img {
  width: 300px;
  margin-top: .5rem;
}

footer p.spearslabs {
  margin-top: 2rem;
}


@media (min-width: 769px) {
  .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
  }

  /* Centers the fourth card when in 3-column layout */
  .feature-grid .feature-card:last-child {
      grid-column: 2;
      margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
      padding: 0 1rem;
  }
  
  .feature-grid, .use-cases {
      grid-template-columns: 1fr;
  }

  .sticky-cta {
      bottom: 1rem;
      right: 1rem;
  }
}