/* ==========================================================================
   SleepDaddy Web Design System & StyleSheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (:root)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Dark & Glass Theme */
  --bg-dark: #050714;
  --bg-surface: rgba(15, 23, 42, 0.65);
  --bg-surface-hover: rgba(30, 41, 59, 0.8);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(129, 140, 248, 0.3);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Accent Colors */
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-glow: rgba(99, 102, 241, 0.25);

  /* Sleep Stage Colors */
  --stage-awake: #fbbf24;      /* Amber */
  --stage-rem: #818cf8;        /* Indigo */
  --stage-core: #3b82f6;       /* Electric Blue */
  --stage-deep: #8b5cf6;       /* Purple / Violet */
  --stage-unspecified: #64748b; /* Slate */

  /* Typography & Layout */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;

  /* Radii */
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  /* Transitions & Shadows */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-glow: 0 0 25px var(--accent-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  color: var(--text-muted);
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   2b. Accessibility & Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stage-legend-title {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge-icon,
.stage-legend-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.btn-sm {
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.1rem;
}

.btn-group-sm {
  display: inline-flex;
  gap: 0.3rem;
}

.select-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.toggle-checkbox {
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.doc-code-pill {
  color: var(--stage-rem);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.privacy-callout-card,
.info-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-self-start {
  align-self: flex-start;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-item-title {
  font-size: 1.05rem;
  color: var(--text-main);
}

.info-item-desc {
  font-size: 0.9rem;
}

.cta-footnote {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.logo-sm {
  font-size: 1.1rem;
}

.logo-img-sm {
  width: 26px;
  height: 26px;
}

.footer-copy {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  color: var(--text-subtle);
}

.hero-compact {
  padding-bottom: 2rem;
}

.section-compact {
  margin-top: 1rem;
}

.doc-card-icon-lg {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}

.doc-lead-text {
  max-width: 600px;
}

.action-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.contact-card-spaced {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   3. Background Effects
   -------------------------------------------------------------------------- */
.hero-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 80vh;
  max-width: 1400px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(99, 102, 241, 0.18) 0%,
    rgba(139, 92, 246, 0.12) 35%,
    rgba(5, 7, 20, 0) 70%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

/* --------------------------------------------------------------------------
   4. Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* --------------------------------------------------------------------------
   5. Header & Sticky Navigation
   -------------------------------------------------------------------------- */
header,
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: border-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px var(--accent-glow);
  object-fit: cover;
  display: block;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   6. Badges & Buttons
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border-highlight);
  border-radius: 9999px;
  color: var(--stage-rem);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.45);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  gap: 1.5rem;
}

.hero-title {
  max-width: 800px;
  background: linear-gradient(180deg, #ffffff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   8. Feature Grid & Feature Cards
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;

}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Interactive Timeline Simulator Container
   -------------------------------------------------------------------------- */
#simulator {
  scroll-margin-top: 90px;
}

.simulator-container {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  margin-top: 2rem;
}

.simulator-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: 1rem;
}

.simulator-hud-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.simulator-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  background: #070a1b;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.simulator-canvas-wrapper:active {
  cursor: grabbing;
}

.simulator-canvas-wrapper canvas,
#simulator-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.simulator-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(15, 23, 42, 0.3);
  border-top: 1px solid var(--border-glass);
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);

}

.stat-value,
.stat-card-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Sleep Stage Legend Indicators */
.stage-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stage-dot.awake { background-color: var(--stage-awake); box-shadow: 0 0 8px var(--stage-awake); }
.stage-dot.rem { background-color: var(--stage-rem); box-shadow: 0 0 8px var(--stage-rem); }
.stage-dot.core { background-color: var(--stage-core); box-shadow: 0 0 8px var(--stage-core); }
.stage-dot.deep { background-color: var(--stage-deep); box-shadow: 0 0 8px var(--stage-deep); }
.stage-dot.unspecified { background-color: var(--stage-unspecified); }

/* --------------------------------------------------------------------------
   10. Download CTA Box
   -------------------------------------------------------------------------- */
.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-box h2 {
  max-width: 600px;
}

.cta-box p {
  max-width: 500px;
}

/* --------------------------------------------------------------------------
   11. Footer Styling
   -------------------------------------------------------------------------- */
footer,
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  background: rgba(5, 7, 20, 0.9);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.build-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-family: monospace;
}

/* --------------------------------------------------------------------------
   11b. Documentation, Article Cards & Accordions (Privacy & Support)
   -------------------------------------------------------------------------- */
.doc-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.doc-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.doc-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.12);
}

.doc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stage-rem);
}

.doc-card h3 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.doc-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.doc-card code {
  color: var(--stage-rem);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.accordion-item {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.accordion-item[open] {
  border-color: var(--border-highlight);
  background: rgba(15, 23, 42, 0.85);
}

.accordion-summary {
  padding: 1.5rem 1.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.stat-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-light);
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 9999px;
  margin-bottom: 12px;
}

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--color-text-muted) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.hidden {
  display: none !important;
}

.accordion-summary-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.accordion-item[open] .accordion-summary-icon {
  transform: rotate(180deg);
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--border-highlight);
}

.accordion-content {
  padding: 0 1.75rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

.accordion-content p + p {
  margin-top: 1rem;
}

.accordion-content ul, .accordion-content ol {
  margin-left: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.accordion-content li {
  margin-bottom: 0.4rem;
}

.accordion-content code {
  color: var(--stage-rem);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.88em;
}

.contact-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   12. Responsive Design (@media max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-container {
    height: auto;
    min-height: 64px;
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .logo-img,
  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    gap: 0.75rem 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-container .btn-primary {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .simulator-hud {
    flex-direction: column;
    align-items: flex-start;
  }

  .simulator-canvas-wrapper {
    height: 240px;
  }

  .simulator-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-box {
    padding: 2.5rem 1.25rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.5rem 0.75rem;
    gap: 0.4rem 0.5rem;
  }

  .logo {
    font-size: 0.95rem;
    gap: 0.4rem;
  }

  .logo-img,
  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    gap: 0.35rem 0.6rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .nav-container .btn-primary {
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }

  .privacy-callout-card,
  .info-card {
    padding: 1.75rem 1.25rem;
  }
}
