@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");
body {
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
}

/* ── Landing page ──────────────────────────────────────────────── */
.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.landing-header-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.5rem 2.5rem;
}

.app-logo-landing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
}

.app-logo-landing .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.app-logo-landing .brand-name span {
  color: #61c0ca;
}

.app-logo-landing .tagline {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.7);
}

.landing-body-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding: 0 4rem 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.landing-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.landing-subtitle-box {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  color: white;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 400px;
}

.btn-new-study-shiny {
  display: block;
  width: 220px;
  padding: 0.85rem 2rem;
  background: rgba(255,255,255,0.18) !important;
  border: 2px solid rgba(255,255,255,0.55) !important;
  border-radius: 999px !important;
  color: white !important;
  font-size: 1rem !important;
  font-weight: 600;
  font-family: "Comfortaa", sans-serif !important;
  text-align: center;
  margin-bottom: 2.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn-new-study-shiny:hover {
  background: rgba(255,255,255,0.3) !important;
  border-color: rgba(255,255,255,0.85) !important;
  color: white !important;
}

.feature-cards-row {
  display: flex;
  gap: 1rem;
}

.feature-card-landing {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 1rem;
  color: white;
  transition: background 0.2s;
  cursor: pointer;
}

.feature-card-landing:hover {
  background: rgba(255,255,255,0.22);
}

.feature-card-landing .card-emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
  height: 80px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-landing h3 {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.feature-card-landing p {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}

.feature-card-landing .card-btn {
  width: 100%;
  padding: 0.38rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 5px;
  color: white;
  font-size: 0.7rem;
  font-family: "Comfortaa", sans-serif;
  cursor: pointer;
  transition: background 0.15s;
}

.feature-card-landing .card-btn:hover {
  background: rgba(255,255,255,0.35);
}

.landing-human-figure {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stepper page ──────────────────────────────────────────────── */
.stepper-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .stepper-container {
    height: auto;
  }
}

.stepper-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  width: 90%;
  max-width: 1000px;
  height: auto;
  margin: 1rem;
}

.stepper-pins {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  justify-content: space-between;
}

.stepper-pin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.stepper-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.stepper-pin button {
  border: none;
  background: none;
  text-transform: uppercase;
  color: #1d1d1d;
  font-size: 16px;
  font-family: "Comfortaa", sans-serif;
}

.stepper-pin button:hover {
  cursor: pointer;
}

.stepper-pin-icon {
  padding: 0.95rem;
  border-radius: 50%;
}

.stepper-pin-icon img {
  height: 2.5rem;
  width: 2.5rem;
  filter: invert(1);
}

.stepper-pin:nth-child(1) .stepper-pin-icon {
  background-color: #61c0ca;
}

.stepper-pin:nth-child(2) .stepper-pin-icon {
  background-color: #7bbe6b;
}

.stepper-pin:nth-child(3) .stepper-pin-icon {
  background-color: #e16a65;
}

.chip-info-fields-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1rem 0rem;
  gap: 1rem;
}

.result-btns-block {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
  margin: 1rem 0rem;
}

.result-btns-block > * {
  flex: 1;
}

.result-content {
  display: flex;
  gap: 1rem;
}

.result-content .result-left-block {
  flex: 1 1 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1rem;
}

.result-content .result-main-block {
  flex: 1 1 75%;
  height: auto;
  border-style: solid;
  border-radius: 6px;
  border-width: 1px;
  border-color: #c3c3c3;
  padding: 1rem 0.75rem;
}

@media (max-width: 768px) {
  .result-content {
    flex-wrap: wrap;
  }
  .result-content .result-left-block,
.result-content .result-main-block {
    flex: 1 1 100%;
  }
}

.result-left-block-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  padding: 1rem 0.75rem;
  color: #ffffff;
}

.result-left-block-card:hover {
  cursor: pointer;
  opacity: 0.75;
}

.result-left-block-card:nth-child(1) {
  background: #61c0ca;
}

.result-left-block-card:nth-child(2) {
  background: #7bbe6b;
}

.result-left-block-card:nth-child(3) {
  background: #e16a65;
}

.pk-table {
  border: 1px solid #ffffff !important;
  border-collapse: collapse;
}

.pk-table th, .pk-table td {
  border: 1px solid #ffffff !important;
  font-size: 0.75rem;
  padding: 0.15rem 0.25rem;
}

.pk-table thead, .pk-table tbody, .pk-table tfoot, .pk-table tr {
  border: none !important;
}
