:root {
  --ink: #ecf4ff;
  --ink-soft: #b5cbec;
  --surface: rgba(4, 16, 44, 0.68);
  --surface-strong: rgba(7, 24, 59, 0.9);
  --field-surface: rgba(14, 40, 86, 0.6);
  --line: rgba(152, 190, 236, 0.3);
  --line-strong: rgba(122, 188, 255, 0.6);
  --accent: #4ee4ff;
  --accent-strong: #00b9e6;
  --accent-gold: #ffd28f;
  --danger: #ff8a97;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: #020b21;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(1, 12, 38, 0.88), rgba(3, 36, 94, 0.72)),
    url("assets/Tech_7.jpg");
  background-size: cover;
  background-position: center;
}

.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-bg::before {
  inset: 0;
  background:
    radial-gradient(circle at 9% 18%, rgba(113, 210, 255, 0.22), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(255, 206, 137, 0.22), transparent 30%),
    radial-gradient(circle at 76% 86%, rgba(81, 166, 255, 0.28), transparent 33%);
}

.page-bg::after {
  inset: 0;
  background-image: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0.06) 20%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
}

.layout {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.16, 0.8, 0.25, 1) forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.2s;
}

.hero {
  position: relative;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero::after {
  content: none;
}

.brand-logo {
  display: block;
  height: 74px;
  width: auto;
  margin: 0 0 2px;
  filter: drop-shadow(0 6px 18px rgba(0, 10, 32, 0.48));
}

.card {
  margin-top: 16px;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(6, 20, 52, 0.78), rgba(8, 27, 67, 0.84));
  box-shadow:
    0 18px 62px rgba(0, 8, 28, 0.5),
    inset 0 1px 0 rgba(190, 223, 255, 0.15);
  backdrop-filter: blur(7px);
}

.card-head {
  margin-bottom: 12px;
}

.card h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
}

.subtitle {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.field span {
  font-size: 0.84rem;
  color: #c9ddfb;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

input,
select {
  width: 100%;
  border: 1px solid rgba(139, 186, 245, 0.35);
  border-radius: 12px;
  padding: 11px 12px;
  color: #ecf5ff;
  background: linear-gradient(145deg, rgba(11, 35, 79, 0.75), rgba(9, 30, 67, 0.95));
  font: inherit;
}

select option {
  color: #082450;
}

input::placeholder {
  color: #96b4de;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow:
    0 0 0 3px rgba(81, 184, 255, 0.2),
    inset 0 0 0 1px rgba(162, 217, 255, 0.25);
}

.field-group {
  margin-top: 16px;
}

.field-group h3 {
  margin: 0 0 7px;
  color: #cfe2ff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.79rem;
}

.guided-picker {
  border: 1px solid rgba(129, 177, 235, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(13, 38, 82, 0.6), rgba(9, 30, 67, 0.9));
}

.guided-summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  color: #e2f0ff;
  font-size: 0.91rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.guided-summary::after {
  content: "+";
  color: #9ed9ff;
  font-size: 1rem;
  line-height: 1;
}

.guided-picker[open] .guided-summary::after {
  content: "-";
}

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

.guided-search-wrap {
  padding: 8px 9px 0;
}

.guided-search {
  width: 100%;
  border: 1px solid rgba(129, 177, 235, 0.45);
  border-radius: 9px;
  padding: 8px 10px;
  color: #eaf4ff;
  background: rgba(10, 33, 74, 0.88);
  font-size: 0.86rem;
}

.guided-search::placeholder {
  color: #96b7de;
}

.guided-options {
  border-top: 1px solid rgba(129, 177, 235, 0.35);
  padding: 9px;
  display: grid;
  gap: 6px;
  max-height: 230px;
  overflow: auto;
}

.guided-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #e9f4ff;
  border: 1px solid rgba(134, 177, 229, 0.35);
  border-radius: 9px;
  padding: 7px 8px;
  background: rgba(10, 34, 76, 0.65);
}

.guided-option.is-hidden {
  display: none;
}

.guided-option input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

button {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0e2a4d;
  cursor: pointer;
  background: linear-gradient(135deg, #ffe3b8, #ffcb7a 46%, #55d8ff 100%);
  box-shadow:
    0 10px 24px rgba(0, 9, 31, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 32px rgba(0, 9, 31, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

button:active {
  transform: translateY(0);
}

.status {
  margin: 0;
  color: #b7d0ef;
  font-size: 0.92rem;
}

.status.error {
  color: var(--danger);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .layout {
    padding: 18px 12px 40px;
  }

  .hero {
    padding: 0;
  }

  .brand-logo {
    height: 52px;
  }

  .card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .grid,
  .two-cols {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
