:root { 
  color-scheme: light;
  --border-radius: 0px;
}
* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0; padding: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Site Header with Logo */
.site-header {
  background: #2F5D8A; /* Slate Blue from palette */
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.header-logo {
  height: 50px;
  width: auto;
  display: block;
}

.header-logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.header-logo-text i {
  font-size: 28px;
}

.header-logo-text span {
  white-space: nowrap;
}

.header-cta-button {
  background: #fff;
  color: #2F5D8A;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cta-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .header-logo {
    height: 40px;
  }
  
  .header-logo-text {
    font-size: 20px;
  }
  
  .header-logo-text i {
    font-size: 24px;
  }
  
  .header-cta-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

nav .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: calc(var(--border-radius) * 0.67);
  transition: all 0.2s ease;
}

nav a:hover {
  background: rgba(47, 93, 138, 0.1);
  color: #2F5D8A;
}

nav a.active {
  background: #2F5D8A;
  color: #fff;
}

/* Main content area */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}
.faq-page {
  text-align: left;
}
.faq-page h1,
.faq-page .subtitle {
  text-align: left;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #1a1a1a;
  line-height: 1.2;
}

@media (max-width: 600px) {
  h1 { font-size: 36px; }
}

.subtitle {
  font-size: 24px;
  color: #444;
  margin: 0 0 40px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .subtitle { font-size: 20px; }
}

.description {
  font-size: 18px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .description { font-size: 16px; }
}

.cta-button {
  display: inline-block;
  background: #2F5D8A;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  padding: 18px 40px;
  border-radius: var(--border-radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(47, 93, 138, 0.3);
  margin: 20px 0;
}

.cta-button:hover {
  background: #1F4A6A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 93, 138, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 60px 0;
  text-align: left;
}

.feature {
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: #2F5D8A;
  line-height: 1;
}

.feature-icon i {
  color: #2F5D8A;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.problem-box {
  background: rgba(255, 243, 205, 0.8);
  border-left: 4px solid #ffc107;
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 40px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.problem-box h3 {
  margin: 0 0 15px;
  color: #856404;
  font-size: 22px;
}

.problem-box ul {
  margin: 0;
  padding-left: 20px;
  color: #856404;
  font-size: 16px;
  line-height: 1.6;
}

.problem-box li {
  margin-bottom: 8px;
}

.solution-box {
  background: rgba(232, 245, 233, 0.8);
  border-left: 4px solid #4caf50;
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 40px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.solution-box h3 {
  margin: 0 0 15px;
  color: #2e7d32;
  font-size: 22px;
}

.solution-box p {
  margin: 0 0 12px;
  color: #2e7d32;
  font-size: 16px;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat {
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #2F5D8A;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.note {
  margin-top: 60px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.note strong {
  color: #333;
  font-size: 16px;
}

/* Left-align lists in note boxes (bullets look bad when centered) */
/* Exception: checkbox lists (list-style: none) are fine since they don't show bullets */
.note ul {
  text-align: left;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}
.note-margin-top {
  margin-top: 40px;
}

/* Contact page specific */
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: var(--border-radius);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: calc(var(--border-radius) * 0.67);
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: #2F5D8A;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: calc(var(--border-radius) * 0.67);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #1F4A6A;
}

.contact-info {
  margin-top: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius);
}

.contact-info p {
  margin: 10px 0;
  color: #555;
}

.contact-info a {
  color: #2F5D8A;
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #F2F4F6; /* Light Gray from palette */
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-logo-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 35px;
  width: auto;
  opacity: 0.6; /* Makes it appear gray/darker on light background */
  filter: grayscale(1) brightness(0.4); /* Converts to gray */
}

.copyright {
  margin: 0;
  color: #666;
  font-size: 14px;
}

footer .nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .footer-logo-copyright {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    height: 30px;
  }
  
  .copyright {
    font-size: 12px;
  }
}

footer a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 5px 10px;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #2F5D8A;
}

footer a.active {
  color: #2F5D8A;
  font-weight: 600;
}

/* FAQ Page Styles */
.faq-page {
  text-align: left;
}
.faq-page h1,
.faq-page .subtitle {
  text-align: left;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #2F5D8A;
  margin: 0 0 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-question i {
  margin-top: 3px;
  flex-shrink: 0;
}
.faq-answer {
  font-size: 16px;
  color: #3A3A3A;
  line-height: 1.7;
  margin: 0;
}
.faq-answer p {
  margin: 0 0 12px 0;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-answer ul {
  margin: 12px 0;
  padding-left: 25px;
}
.faq-answer li {
  margin-bottom: 8px;
}
.faq-category {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #2F5D8A;
}
.faq-category:first-child {
  margin-top: 0;
}

/* Benefits section for doctors page */
.benefits-box {
  background: #f0f8ff;
  border-left: 4px solid #0066cc;
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 30px 0;
  text-align: left;
  max-width: 100%;
}

.benefits-box h3 {
  margin: 0 0 20px;
  color: #0066cc;
  font-size: 22px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.benefit-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefit-icon-large {
  color: #0066cc;
  font-size: 2em;
}

.benefit-card h3 {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 18px;
  color: #1a1a1a;
  font-weight: 600;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Story note section */
.story-note {
  margin-top: 30px;
  background: #fff8e1;
  border-left: 4px solid #ff9800;
  padding: 20px;
  border-radius: var(--border-radius);
}

.story-note h3 {
  margin-top: 0;
  color: #e65100;
  font-size: 20px;
  font-weight: 600;
}

.story-note p {
  margin-bottom: 0;
  line-height: 1.6;
  color: #333;
}

/* Note variants */
.note-blue {
  margin-top: 20px;
  background: rgba(230, 242, 255, 0.5);
  border-left: 3px solid #0066cc;
}

.note-yellow {
  margin-top: 20px;
  background: rgba(255, 243, 205, 0.4);
}

/* Benefits list in solution boxes */
.benefits-list {
  margin: 15px 0;
  padding-left: 25px;
  color: #2e7d32;
  font-size: 16px;
  line-height: 1.8;
}

.benefits-list li {
  margin-bottom: 8px;
}

/* Pricing Page Styles */
.pricing-page {
  max-width: 1200px;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 25px 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.pricing-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 35px 30px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pricing-card-featured {
  border-color: #0066cc;
  border-width: 3px;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,102,204,0.2);
}

.pricing-card-featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0066cc;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.pricing-card-header h3 {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: #0066cc;
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.pricing-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #f5f5f5;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: 700;
  font-size: 18px;
}

.pricing-usage {
  text-align: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.pricing-best-for {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-style: italic;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.pricing-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 35px 0;
}

.pricing-section {
  text-align: left;
}

.pricing-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
  text-align: left;
}

.pricing-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-section-list li {
  padding: 5px 0;
  padding-left: 25px;
  position: relative;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
}

.pricing-section-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 5px;
  color: #0066cc;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
}

.pricing-section p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.pricing-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 20px 0 12px;
}

/* Setup section spans full width */
.pricing-setup-section {
  grid-column: 1 / -1;
  max-width: 100%;
}

.pricing-setup-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.pricing-setup-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 20px 0;
}

.pricing-setup-tier {
  margin: 15px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: var(--sw-radius, 8px);
  border-left: 4px solid #2F5D8A;
}

.pricing-setup-tier h4 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #2F5D8A;
  font-size: 18px;
}

.pricing-setup-tier p {
  margin: 10px 0;
  line-height: 1.6;
}

.pricing-setup-tier ul {
  margin: 15px 0;
  list-style: none;
  padding-left: 0;
}

.pricing-setup-tier .pricing-section-list li {
  padding-left: 0;
}

.pricing-setup-tier .pricing-section-list li:before {
  display: none;
}

.pricing-setup-section p {
  margin-bottom: 15px;
}

.pricing-cta {
  text-align: center;
  margin: 35px 0 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
}

.pricing-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 15px;
}

.pricing-cta p {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card-featured {
    transform: scale(1);
  }
  
  .pricing-card-featured:hover {
    transform: translateY(-5px);
  }
  
  .pricing-amount {
    font-size: 40px;
  }
  
  .pricing-sections {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-setup-tiers {
    grid-template-columns: 1fr;
  }
}

/* Calibration Progress Indicator */
.test-content .calibration-progress-container {
  margin-top: 15px;
  margin-bottom: 15px;
  height: 8px;
  background: #e0e0e0;
  border-radius: calc(var(--test-border-radius) * 2);
  overflow: hidden;
  position: relative;
}
.test-content .calibration-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #00aaff, #0066cc);
  background-size: 200% 100%;
  border-radius: calc(var(--test-border-radius) * 2);
  transition: width 0.1s linear;
  width: 0%;
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

