@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  height: -webkit-fill-available; 
}

body {
  overflow-x: hidden;
  background: #000;
  font-family: "JetBrains Mono", monospace;
  color: white;
  overflow-y: hidden; /* HIDDEN to prevent native scrolling interference with custom pull */
  cursor: default;
  transition: opacity 0.5s ease-out; /* For page reload fade-out */
}

/* Initial page load animation */
body.page-loading #ui-wrapper { /* TARGETING #ui-wrapper now */
  opacity: 0;
  transform: translateY(20px);
}
#ui-wrapper { /* NEW: Wrapper for all UI elements except three-canvas */
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out, transform 0.2s ease-out; /* Smooth transition for UI movement */
  z-index: 50; /* Ensure it's above the 3D canvas but below footer */
}
#three-canvas { /* 3D Canvas should be below #ui-wrapper */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/* HUD Elements (now children of #ui-wrapper) */
.hud-element {
  position: fixed; /* Still fixed relative to viewport */
  z-index: 100;
  transition: opacity 0.6s ease-out;
  pointer-events: none;
  opacity: 1;
}

.hud-1 {
  opacity: 1;
  pointer-events: auto;
}

.hud-2 {
  opacity: 0;
  pointer-events: none;
}

.header-hud {
  top: 48px;
  left: 48px;
}

.system-id {
  font-size: 11px;
  font-weight: 500;
  color: #95bf47;
  letter-spacing: 3px;
  margin-bottom: 4px;
  text-shadow: 0 0 8px rgba(149, 191, 71, 0.5);
}

.brand-name {
  font-size: 38px;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-shadow:
    0 0 15px rgba(255, 255, 255, 0.1),
    0 0 8px rgba(149, 191, 71, 0.2);
}

.status-bar {
  top: 48px;
  right: 48px;
  text-align: right;
}

.status-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.6;
}

/* Status Indicator: Now uses the duller green for ALL, and the 'pulse' animation */
.status-indicator {
  width: 10px;
  height: 10px;
  background: #95bf47; /* Original duller green */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(149, 191, 71, 0.8); /* Matching shadow */
}

/* The '.status-indicator.active' class is no longer needed in CSS as HTML elements won't have it.
   It would look like this if it were used, but it's not:
.status-indicator.active {
  background: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
  animation: activePulse 1s infinite;
}
*/

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes activePulse { /* This animation is now unused but kept in case needed later */
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

.content-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  pointer-events: none;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 48px;
}

.content-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Cinematic Mode */
.cinematic-mode .hud-element,
.cinematic-mode .cta-button,
.cinematic-mode .content-section {
  opacity: 0;
  pointer-events: none;
}

.cinematic-progress {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  transition: opacity 0.3s ease;
  text-align: center;
}

.cinematic-mode .cinematic-progress {
  opacity: 1;
  pointer-events: all;
}

.progress-bar {
  width: calc(100vw - 640px);
  height: 8px;
  background: rgba(149, 191, 71, 0.3);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(149, 191, 71, 0.4);
  box-shadow: 0 0 15px rgba(149, 191, 71, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #95bf47, #7da93f, #95bf47);
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 15px rgba(149, 191, 71, 0.8);
  animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
  from { box-shadow: 0 0 15px rgba(149, 191, 71, 0.8); }
  to { box-shadow: 0 0 30px rgba(149, 191, 71, 1.2); }
}

.progress-text {
  font-size: 14px;
  font-weight: 700;
  color: #95bf47;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(149, 191, 71, 0.6);
}

.main-interface {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  max-width: 600px;
}

.interface-header {
  font-size: 13px;
  font-weight: 600;
  color: rgba(149, 191, 71, 0.95);
  letter-spacing: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(149, 191, 71, 0.4);
  position: relative;
}

.interface-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #95bf47, transparent);
  box-shadow: 0 0 8px rgba(149, 191, 71, 0.6);
}

.primary-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 28px;
  color: white;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.highlight {
  color: #95bf47;
  text-shadow: 0 0 15px rgba(149, 191, 71, 0.4);
}

.mission-brief {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 480px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.action-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-action {
  background: linear-gradient(135deg, #95bf47 0%, #7da93f 100%);
  color: white;
  padding: 16px 32px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 20px rgba(149, 191, 71, 0.4);
  transition: all 0.3s ease;
}

.primary-action:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 30px rgba(149, 191, 71, 0.6);
}

.secondary-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Metrics Panel */
.metrics-panel {
  bottom: 48px;
  left: 48px;
  display: flex;
  gap: 48px;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #95bf47;
  text-shadow: 0 0 12px rgba(149, 191, 71, 0.5);
}

.metric-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* CTA Button */
.cta-button {
  position: fixed;
  bottom: 48px;
  right: 48px;
  z-index: 100;
  background: #95bf47;
  color: #000;
  padding: 14px 36px 14px 28px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #95bf47;
  box-shadow: 0 0 20px rgba(149, 191, 71, 0.4);
}

.cta-button:hover {
  background: transparent;
  color: #95bf47;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(149, 191, 71, 0.6);
}

/* Scan Line */
.scan-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(149, 191, 71, 0.8),
    transparent
  );
  animation: scan 3s linear infinite;
  z-index: 200;
  box-shadow: 0 0 15px rgba(149, 191, 71, 0.4);
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* HUD2 Checklist Section Styling & Translucent Background */
#section-2.content-section {
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding: 80px 80px;
  background: rgba(0, 0, 0, 0.371);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#section-2 .main-interface {
  position: static;
  transform: none;
  flex: 1;
  max-width: 500px;
  margin-right: 40px;
  left: unset;
  top: unset;
  z-index: 1;
}

.checklist-graphic {
  flex: 1;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: none;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.checklist-graphic svg {
  width: 100%;
  height: auto;
  max-width: 280px;
  margin-bottom: 0;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.445));
  transition: filter 0.3s ease;

}

.checklist-graphic:hover svg {
  filter: drop-shadow(0 0 10px rgba(178, 255, 35, 0.784));
}

.checklist-graphic .checklist-item .checkmark {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}
.checklist-graphic .checklist-item[data-checked="true"] .checkmark {
  stroke-dashoffset: 0;
  opacity: 1;
}

.checklist-graphic .clickable-area {
  cursor: pointer;
}


/* Footer Section */
.footer-section {
  position: fixed;
  top: 100vh;
  left: 0;
  width: 100%;
  height: 100vh;
  /* Dynamic gradient from transparent at top to opaque at bottom */
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(13, 13, 13, 0.6) 50%,
    #0d0d0d 100%
  );
  transition: top 0.8s ease-in-out; 
  z-index: 300;
  display: flex;
  flex-direction: column; /* Changed to column to stack main content and bottom bar */
  align-items: center;
  justify-content: space-between; /* Space out content and bottom bar */
  overflow: hidden;
  position: fixed; /* Keep fixed to viewport */
}

.footer-section.active {
  top: 0;
}

/* Wrapper for main footer elements */
.footer-content {
  position: relative;
  width: 100%;
  flex-grow: 1; /* Allow to take available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center main content */
  align-items: center; /* Center content horizontally */
  padding: 80px 48px;
  text-align: center; /* Center align all text within */
}

.footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 20px 20px,
    rgba(46, 204, 113, 0.8) 2px,
    transparent 2px
  );
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  pointer-events: none;
}

.footer-grid-overlay.active {
  opacity: 1;
  -webkit-mask: radial-gradient(
    150px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(13, 13, 13, 0.8) 60%,
    transparent 100%
  );
  mask: radial-gradient(
    150px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(13, 13, 13, 0.8) 60%,
    transparent 100%
  );
}

.footer-background-text {
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 900;
  letter-spacing: -8px;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  display: flex;
  align-items: baseline;
  position: absolute; /* Positioned within footer-content */
  bottom: 0; /* Anchor to the bottom of footer-content */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  line-height: 1;
  width: 100%;
  text-align: center;
  overflow: hidden;
  /* Gradient on text */
  background: linear-gradient(180deg, #95bf47 0%, #a2cc56 50%, #d7d56a30 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: #7da93f;
  -webkit-text-stroke-width: 1px;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(149, 191, 71, 0.5));
}

.footer-vault {
  margin-left: -60px;
}

.footer-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(46, 204, 113, 0.05) 0%,
    transparent 50%
  );
  opacity: 0.3;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.footer-gradient-overlay.active {
  opacity: 0.7;
}
/* Styling for the .today span - now exclusively in footer */
.today-hover {
  font-size:medium;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease, color 0.2s ease;
  z-index: 310;
  opacity: 1; /* Visible by default in footer */
  pointer-events: auto; /* Always interactive when footer is active */
}

.today-hover:hover {
  color: #95bf47;
  text-shadow: 0 0 10px rgba(149, 191, 71, 0.8);
  opacity: 1;
}
/* Footer Copyright - bottom left within the bottom bar */
.footer-copyright {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}
/* ===== FOOTER CONTENT ===== */
/* Desktop base styles for footer content elements */
.footer-tagline {
  font-size: clamp(42px, 3vw, 70px);
  font-weight: 700;
  color:black; /* This will be overridden for mobile */
  text-align: left;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: -300px 0 20px 0;  
  max-width: 500px;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(4, 70px); /* Bigger icons */
  gap: 0; /* No gap */
  margin-left: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px; /* Bigger icons */
  height: 70px; /* Bigger icons */
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 2px solid transparent;
  color: #fff;
  text-decoration: none;
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.6);
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%,
    transparent 100%
  );
  border: 2px solid;
  border-image: linear-gradient(
    135deg,
    #cccccc 0%,
    #ffffff 25%,
    #cccccc 50%,
    #ffffff 75%,
    #cccccc 100%
  ) 1;
  z-index: 1;
  transition: all 0.2s ease;
}

.social-icon::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.social-icon svg {
  width: 32px; /* Bigger SVG */
  height: 32px; /* Bigger SVG */
  stroke: #fff;
  fill: none;
  transition: all 0.1s ease;
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
}

.social-icon svg[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.social-icon:active {
  transform: scale(0.95) translateY(1px);
  background: linear-gradient(145deg, #0d0d0d, #1a1a1a);
  box-shadow: 
    inset 0 2px 3px rgba(0, 0, 0, 0.8),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

.social-icon:active::before {
  border-image: linear-gradient(
    135deg,
    #999999 0%,
    #cccccc 25%,
    #999999 50%,
    #cccccc 75%,
    #999999 100%
  ) 1;
  opacity: 0.8;
}

.social-icon:active svg {
  stroke: #95bf47;
  transform: scale(0.95);
}

.social-icon:active svg[fill="currentColor"] {
  fill: #95bf47;
}

.social-icon:hover::before {
  opacity: 1.1;
}

.social-icon:hover {
  transform: none;
}

.social-icon:hover svg {
  stroke: #fff;
  transform: none;
}

.social-icon:hover svg[fill="currentColor"] {
  fill: #fff;
}

/* NEW: Pull-to-return indicator styles */
.pull-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 0; /* Will be stretched by JS */
  background: linear-gradient(to top, rgba(149, 191, 71, 0.2), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: rgba(149, 191, 71, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 40; /* Below UI wrapper but above 3D canvas */
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease-out;
}

.pull-indicator.active {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #section-2.content-section {
    flex-direction: column;
    padding: 60px 48px;
  }
  #section-2 .main-interface {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }
  .checklist-graphic {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* General Mobile HUD and Content Adjustments */
  .header-hud { top: 24px; left: 24px; }
  .brand-name { font-size: 32px; }
  .system-id { font-size: 10px; letter-spacing: 2px; }

  .status-bar { top: 24px; right: 24px; }
  .status-item { font-size: 10px; gap: 8px; }

  .metrics-panel { bottom: 24px; left: 24px; flex-direction: column; gap: 16px; }
  .metric-value { font-size: 24px; }
  .metric-label { font-size: 10px; letter-spacing: 2px; }

  .cta-button { bottom: 24px; right: 24px; padding: 10px 20px; font-size: 11px; }

  .cinematic-progress { bottom: 24px; }
  .progress-bar { width: calc(100vw - 100px); } /* Smaller progress bar */
  .progress-text { font-size: 12px; letter-spacing: 2px; }


  .main-interface { left: 24px; max-width: calc(100vw - 48px); }
  .interface-header { font-size: 12px; letter-spacing: 3px; margin-bottom: 16px; }
  .primary-title { font-size: clamp(28px, 8vw, 48px); margin-bottom: 20px; }
  .mission-brief { font-size: 14px; margin-bottom: 28px; max-width: 100%; }
  .action-panel { flex-direction: column; align-items: flex-start; gap: 16px; }
  .primary-action { padding: 12px 24px; font-size: 12px; }
  .secondary-info { font-size: 12px; }

  /* CRO Page specific mobile adjustments for overlap */
  #section-2.content-section {
    padding: 150px 24px 40px; /* Increased top padding to prevent overlap with header */
  }
  #section-2 .main-interface {
    margin-bottom: 30px;
  }
  .checklist-graphic svg {
    max-width: 200px;
  }
  
  /* Mobile Footer Redesign */
  .footer-section {
    height: 100vh; /* Full viewport height for content area */
    top: 100vh; /* Initially hidden */
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(13, 13, 13, 0.6) 30%, /* Adjust gradient start for mobile */
      #0d0d0d 100%
    );
  }
  
  .footer-section.active {
    top: 0; /* Make it cover the whole screen */
  }

  .footer-content {
    padding: 60px 24px 20px; /* Increased top/bottom padding */
    justify-content: space-around; /* Evenly distribute content vertically */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text within content */
    height: 100%; /* Ensure content takes full height for justify-content to work */
  }

  .footer-tagline {
    font-size: clamp(36px, 10vw, 56px);
    margin: 50px 0 20px 0; /* Clear top margin for breathing room */
    text-align: center; /* Center tagline text */
    max-width: 100%; /* Allow to take most of the width */
    color: white; /* Make tagline visible over background text */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Add shadow for contrast */
  }

  .footer-socials {
    display: grid;
    grid-template-columns: repeat(2, 70px); /* 2x2 grid, bigger icons */
    gap: 0; /* NO GAP */
    justify-self: center;
    }
  
  .social-icon {
    width: 70px; /* Bigger icons */
    height: 70px; /* Bigger icons */
  }
  
  .social-icon svg {
    width: 32px; /* Bigger SVG */
    height: 32px; /* Bigger SVG */
  }
  
   .footer-background-text {
    font-size: clamp(80px, 20vw, 150px); /* Adjust font size to fit */
    letter-spacing: -6px; /* Tighten letter spacing */
    top: auto; /* Remove top positioning */
    bottom: 0; /* Position at the very bottom of footer-section */
    transform: translateX(-50%); /* Keep centered */
    opacity: 1; /* Make it more visible */
    filter: drop-shadow(0 0 8px rgba(149, 191, 71, 0.3)); /* Stronger shadow */
    -webkit-text-stroke-width: 2.5px; /* Adjust stroke for boldness */
    width: 110%; /* Allow it to take up available width */
    background: linear-gradient(180deg, #95bf47 0%, #a2cc56 50%, #d7d56a30 100%); /* Re-apply desktop gradient */
    -webkit-background-clip: text; /* Re-apply text clip */
    -webkit-text-fill-color: transparent; /* Re-apply transparent fill */
    -webkit-text-stroke-color: #7da93f; /* Re-apply stroke color */
    background-clip: text; /* Re-apply background clip */
  }

  .footer-vault {
    margin-left: -20px;
  }



  .footer-copyright {
    font-size: 11px;
  }

  .today-hover {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .header-hud { top: 16px; left: 16px; }
  .brand-name { font-size: 28px; }
  .system-id { font-size: 9px; }

  .status-bar { top: 16px; right: 16px; }
  .status-item { font-size: 9px; gap: 6px; }

  .metrics-panel { bottom: 16px; left: 16px; gap: 12px; }
  .metric-value { font-size: 20px; }
  .metric-label { font-size: 9px; }

  .cta-button { bottom: 16px; right: 16px; padding: 8px 16px; font-size: 10px; }
  
  .cinematic-progress { bottom: 16px; }
  .progress-bar { width: calc(100vw - 60px); }
  .progress-text { font-size: 10px; letter-spacing: 1px; }

  .main-interface { left: 16px; max-width: calc(100vw - 32px); }
  .interface-header { font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
  .primary-title { font-size: clamp(24px, 10vw, 40px); margin-bottom: 16px; }
  .mission-brief { font-size: 13px; margin-bottom: 24px; }
  .action-panel { gap: 12px; }
  .primary-action { padding: 10px 20px; font-size: 11px; }
  .secondary-info { font-size: 11px; }

  /* CRO Page specific mobile adjustments for overlap */
  #section-2.content-section {
    padding: 120px 16px 30px; /* Adjusted top padding for smaller screens */
  }
  #section-2 .main-interface {
    margin-bottom: 20px;
  }
  .checklist-graphic svg {
    max-width: 160px;
  }

  /* Mobile Footer Optimization */
  .footer-content {
    padding: 40px 16px 15px; /* Adjusted padding for smaller screens */
  }

  .footer-tagline {
    font-size: clamp(30px, 12vw, 48px);
    margin: 20px 0; /* Adjusted margins */
  }

  .footer-socials {
    grid-template-columns: repeat(2, 60px); /* Smaller icons for smallest screens */
    gap: 0; /* No gap */
    margin: 20px auto; /* Centered with vertical margin */
  }

  .social-icon {
    width: 60px; /* Smaller icons for smallest screens */
    height: 60px; /* Smaller icons for smallest screens */
  }
  
  .social-icon svg {
    width: 28px; /* Smaller SVG */
    height: 28px; /* Smaller SVG */
  }

  

  .footer-vault {
    margin-left: -15px;
  }

  .footer-copyright {
    font-size: 10px;
  }

  .today-hover {
    font-size: 10px;
  }
}