/* ==========================================================================
   Diflucan.site Interactive Medical Tools Suite - Design System
   Modern Medical Aesthetics: Clean typography, glassmorphic cards, sleek gradients
   ========================================================================== */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0d9488;
  --secondary-light: #ccfbf1;
  --accent: #6366f1;
  
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --light-bg: #f8fafc;
  --light-card: #ffffff;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-on-dark: #f8fafc;

  /* Severity Colors */
  --severity-major: #ef4444;
  --severity-major-bg: #fef2f2;
  --severity-moderate: #f59e0b;
  --severity-moderate-bg: #fffbeb;
  --severity-minor: #3b82f6;
  --severity-minor-bg: #eff6ff;
  --severity-safe: #10b981;
  --severity-safe-bg: #ecfdf5;

  /* Shadows & Borders */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --border-light: #e2e8f0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-bg);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Medical Alert Disclaimer Bar */
.top-disclaimer-bar {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  color: #cbd5e1;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-disclaimer-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.disclaimer-badge {
  background-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-right: 8px;
}

.learn-more-link {
  color: #38bdf8;
  font-weight: 500;
}

/* Header & Navigation */
.main-header {
  background-color: var(--light-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-bg);
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-bg);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0284c7 100%);
  color: var(--text-on-dark);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../assets/hero_medical_bg.jpg') no-repeat center right / cover;
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 3.2rem;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  background: linear-gradient(90deg, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
  color: #38bdf8;
  font-size: 1.8rem;
}

.stat-item p {
  color: #94a3b8;
  font-size: 0.85rem;
}

.hero-quick-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.hero-quick-card h3 {
  color: #ffffff;
  margin-bottom: 16px;
}

.quick-tools-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-tool-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-tool-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  transform: translateX(4px);
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Quick Feature Highlights Section */
.features-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.tools-grid-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.quick-tool-card {
  background-color: var(--light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.quick-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tool-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.quick-tool-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.quick-tool-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Interactive Tools Workspace Section */
.tools-workspace-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.tools-nav-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border-light);
}

.tool-nav-btn {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-nav-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.tool-nav-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

/* Tool Panels Container */
.tool-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tool-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Card & Form Container Layouts */
.tool-quiz-card, .tool-results-card, .dosage-tool-wrapper, .interaction-tool-wrapper, .pregnancy-tool-wrapper, .recurrence-tool-wrapper, .clinic-finder-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* Symptom Checker Quiz Styling */
.quiz-progress-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 24px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.quiz-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.quiz-question-title {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.quiz-options-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.quiz-option-btn {
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz-option-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  transform: translateX(4px);
}

.quiz-option-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
}

.quiz-option-btn:hover .quiz-option-indicator {
  border-color: var(--primary);
  background-color: #ffffff;
}

.quiz-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.medical-disclaimer-inline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Differential Chart & Result Card */
.result-header {
  text-align: center;
  margin-bottom: 36px;
}

.result-badge {
  background-color: var(--secondary-light);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.result-title {
  font-size: 2.2rem;
  margin: 12px 0;
  color: var(--primary-dark);
}

.differential-chart {
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.differential-chart h4 {
  margin-bottom: 20px;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.bar-track {
  height: 12px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s ease-out;
}

.bar-fill.yeast { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.bar-fill.bv { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.bar-fill.uti { background: linear-gradient(90deg, #ef4444, #f87171); }
.bar-fill.trich { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

/* Dosage Calculator Timeline Visualizer */
.condition-selector-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.dosage-summary-card {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 36px;
}

.dosage-badge {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.dosage-highlight-box {
  margin-top: 16px;
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}

.dosage-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.timeline-visual-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
  padding-left: 32px;
  border-left: 3px solid var(--primary-light);
}

.timeline-node {
  position: relative;
}

.node-marker {
  position: absolute;
  left: -46px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.node-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.node-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Drug Interaction Checker Cards */
.search-box-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.popular-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tag-btn {
  background-color: #f1f5f9;
  border: none;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  cursor: pointer;
}

.tag-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.drug-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;

}

.drug-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
}

.drug-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.drug-title {
  font-size: 1.2rem;
}

.drug-category {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.severity-badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
}

.severity-badge.severity-major { background-color: var(--severity-major-bg); color: var(--severity-major); }
.severity-badge.severity-moderate { background-color: var(--severity-moderate-bg); color: var(--severity-moderate); }
.severity-badge.severity-minor { background-color: var(--severity-minor-bg); color: var(--severity-minor); }
.severity-badge.severity-safe { background-color: var(--severity-safe-bg); color: var(--severity-safe); }

/* Pregnancy & Lactation Safety Guide */
.pregnancy-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.preg-tab-btn {
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.preg-tab-btn.active {
  background-color: var(--dark-bg);
  color: #ffffff;
}

.pregnancy-status-card {
  border-top: 6px solid var(--primary);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  padding: 28px;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.risk-badge {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.treatment-highlight {
  background-color: #f8fafc;
  padding: 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--secondary);
  margin: 20px 0;
}

.action-steps-box ul {
  padding-left: 20px;
  margin-top: 10px;
}

.action-steps-box li {
  margin-bottom: 8px;
}

/* Recurrence Risk Form */
.risk-question-block {
  margin-bottom: 28px;
}

.risk-q-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.risk-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.risk-radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.risk-radio-option:hover {
  background-color: var(--primary-light);
}

/* Clinic Directory Cards */
.finder-controls {
  margin-bottom: 32px;
}

.search-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.location-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.loc-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.loc-title {
  font-size: 1.15rem;
}

.loc-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.loc-distance {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.loc-details p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.stock-status {
  color: var(--severity-safe);
  font-weight: 600;
}

.loc-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Alert Boxes & Medical Disclaimer styling */
.alert-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.alert-warning {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-icon {
  font-size: 1.5rem;
}

.medical-disclaimer-box {
  margin-top: 36px;
  padding: 16px 20px;
  background-color: #f8fafc;
  border-left: 4px solid #94a3b8;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* Footer Section */
.main-footer {
  background-color: var(--dark-bg);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .search-box-row, .search-input-group {
    flex-direction: column;
  }
}

/* Print Optimization */
@media print {
  .top-disclaimer-bar, .main-header, .hero-section, .features-section, .tools-nav-bar, .main-footer, .results-actions {
    display: none !important;
  }
  body {
    background-color: #ffffff;
    color: #000000;
  }
  .tool-quiz-card, .tool-results-card, .recurrence-tool-wrapper {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}
