@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --glass: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

.hero-shell::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.9));
  pointer-events: none;
  z-index: 0;
}

.hero-shell {
  position: relative;
  isolation: isolate;
}

.hero-shell > * {
  position: relative;
  z-index: 1;
}

.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.glass-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.45);
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}

.label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
}

.input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.85rem 1rem;
  color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  outline: none;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

.stepper {
  display: flex;
  align-items: stretch;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  overflow: hidden;
}

.stepper:focus-within {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.stepper-input {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
}

.stepper-input:focus {
  box-shadow: none;
}

.stepper-btn {
  border: none;
  background: rgba(30, 41, 59, 0.7);
  color: #f8fafc;
  width: 2.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.stepper-btn:hover,
.stepper-btn:focus {
  background: rgba(16, 185, 129, 0.25);
  outline: none;
}

select.input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(226, 232, 240, 0.9) 50%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.9) 50%, transparent 50%),
    linear-gradient(to right, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.2));
  background-position:
    calc(100% - 22px) 55%,
    calc(100% - 16px) 55%,
    calc(100% - 2.75rem) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

.choice-button {
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.choice-button[aria-pressed='true'] {
  border-color: rgba(52, 211, 153, 0.8);
  background: rgba(16, 185, 129, 0.2);
  color: #ffffff;
  box-shadow: 0 10px 30px -15px rgba(16, 185, 129, 0.6);
}

.primary-button {
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, #10b981, #22d3ee);
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -20px rgba(34, 211, 238, 0.8);
}

.primary-button:active {
  transform: translateY(1px);
}

.dropdown {
  position: relative;
}

.dropdown-button {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.85rem 1rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dropdown-button:focus {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  outline: none;
}

.dropdown-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(226, 232, 240, 0.9);
  border-bottom: 2px solid rgba(226, 232, 240, 0.9);
  transform: rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #020617;
  padding: 0.5rem;
  box-shadow: 0 24px 50px -30px rgba(2, 6, 23, 0.95);
  z-index: 20;
}

.dropdown-menu.is-open {
  display: flex;
}

.dropdown-item {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.7rem 0.9rem;
  text-align: left;
  color: #f8fafc;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  color: #ffffff;
  outline: none;
}
