/* Site-specific styling layered on top of Bootstrap */
/* Color palette aligned with dadams.io */
:root {
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-light: #3b82f6;
  --brand-green: #059669;
  --brand-green-light: #10b981;

  /* Override Bootstrap primary to use brand blue */
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-hover-color: #1d4ed8;
}

body {
  font-family: 'Google Sans Flex', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 200px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

.hero {
  padding: 4rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(5, 150, 105, 0.06) 100%
  );
  border-bottom: 1px solid var(--bs-border-color);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
}

.trust-badge {
  background: var(--bs-success-bg-subtle);
  color: var(--bs-success-text);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.cta-button {
  background: var(--bs-primary);
  color: white;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.75rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.cta-button:hover {
  background: var(--bs-primary-text);
  color: white;
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: var(--bs-primary);
  border: 2px solid var(--bs-primary);
}

.cta-secondary:hover {
  background: var(--bs-primary);
  color: white;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.hero-math {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.pricing-card {
  border: 2px solid var(--bs-border-color);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  background: var(--bs-body-bg);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card:hover {
  border-color: var(--bs-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border-color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
}

.pricing-card .badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--bs-primary);
  color: white;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bs-primary);
}

.case-study {
  background: var(--bs-light-bg-subtle);
  padding: 2rem;
  border-radius: 14px;
  margin-bottom: 2rem;
  border: 1px solid var(--bs-border-color);
}

.contact-form {
  background: var(--bs-tertiary-bg);
  padding: 2rem;
  border-radius: 14px;
  margin-bottom: 2rem;
  border: 1px solid var(--bs-border-color);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.5rem 0;
}

.feature-list li::before {
  content: "✓";
  color: var(--brand-green);
  font-weight: 800;
  margin-right: 0.5rem;
}

.highlight-strip {
  text-align: center;
  padding: 1.75rem 0;
  background: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
}

.cta-section {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
}

footer {
  font-size: 0.925rem;
  padding: 2rem 1rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  border-top: none;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--brand-green), var(--brand-blue));
  opacity: 0.8;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-border-color);
  display: block;
  margin: 0 auto;
}

.sample-card {
  border: 2px solid var(--bs-border-color);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  display: block;
}

.commented-code-callout {
  background: var(--bs-tertiary-bg);
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  padding: 1.25rem 1rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.sample-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
  color: var(--bs-body-color);
  text-decoration: none;
}
