/* Improved responsive CSS for CAP Lab Landing Page */
:root {
  --primary-color: #3a4052;
  --accent-color: #f1c40f;
  --text-color: #ffffff;
  --bg-color: #000000;
  --btn-bg: var(--primary-color);
  --btn-hover-bg: var(--accent-color);
  --btn-text: #ffffff;
}

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

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.showcase {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.showcase .content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5em;
}

.showcase .content h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 1.5em;
  color: #ddd;
}

.btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--btn-text);
  background-color: var(--btn-bg);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--btn-hover-bg);
  color: var(--primary-color);
  transform: scale(0.98);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .showcase .content h1 {
    font-size: 2.5rem;
  }
  .showcase .content h3 {
    font-size: 1.75rem;
  }
  .btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.5rem;
  }
}
}
