/* Bloodwork Marketing — Design Tokens */
:root {
  --red-primary: #DC2626;
  --red-dark: #991B1B;
  --red-light: #FEE2E2;
  --panel: #F5F5F5;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Fira Code", ui-monospace, monospace;
}

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

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Layout */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  border-bottom: 1px solid var(--gray-200);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
}
.nav-link:hover { color: var(--gray-900); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--red-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary {
  background: #fff;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--gray-50); }
.btn-large { padding: 14px 32px; font-size: 16px; }

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero h1 .accent { color: var(--red-primary); }
.hero p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; }

/* Features Grid */
.features {
  padding: 80px 0;
  background: var(--gray-50);
}
.features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.features .subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-size: 16px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--gray-200);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--red-primary);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
}
.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Security Section */
.security-section {
  padding: 80px 0;
  background: var(--gray-900);
  color: #fff;
}
.security-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.security-section .subtitle {
  text-align: center;
  color: var(--gray-400);
  margin-bottom: 48px;
  font-size: 16px;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.security-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
}
.security-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.security-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}
.security-diagram {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
}
.security-diagram pre {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.8;
  text-align: center;
}

/* CTA Banner */
.cta {
  padding: 80px 0;
  text-align: center;
}
.cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--gray-200);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer p {
  font-size: 13px;
  color: var(--gray-400);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-size: 13px;
  color: var(--gray-400);
  transition: color 0.15s;
}
.footer-link:hover { color: var(--gray-600); }

/* Pricing */
.pricing { padding: 80px 0; }
.pricing h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.pricing .subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-size: 16px;
}
.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--red-primary);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}
.pricing-card .price {
  font-size: 48px;
  font-weight: 800;
  color: var(--red-primary);
  margin-bottom: 4px;
}
.pricing-card .period {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  list-style: none;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: "✓";
  color: var(--red-primary);
  font-weight: 700;
}

/* Security Deep-Dive */
.security-page { padding: 80px 0; }
.security-page h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.security-page .subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 48px;
  font-size: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.security-detail {
  margin-bottom: 48px;
}
.security-detail h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.security-detail p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.security-detail code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-links { gap: 16px; }
}
