/* ===================================================
   WEBSITE BRIEF BUILDER — Styles
   =================================================== */

/* ---------- SCREENS ---------- */
.wb-screen {
  display: none;
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.wb-screen--active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- SHARED ---------- */
.wb-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 180, 255, 0.7);
  margin-bottom: 1rem;
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.wb-btn--primary {
  background: rgba(255,255,255,0.95);
  color: #0a0a1a;
}

.wb-btn--primary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(140, 180, 255, 0.12);
}

.wb-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
}

.wb-btn--ghost:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

/* ---------- INPUT SYSTEM ---------- */
.wb-input-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.wb-input {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease;
}

.wb-input:focus {
  border-bottom-color: rgba(140, 180, 255, 0.5);
}

.wb-input-label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.95rem;
  font-weight: 300;
  pointer-events: none;
  transition: all 0.3s ease;
}

.wb-input:focus ~ .wb-input-label,
.wb-input:not(:placeholder-shown) ~ .wb-input-label {
  top: -0.6rem;
  font-size: 0.7rem;
  color: rgba(140, 180, 255, 0.7);
  letter-spacing: 0.05em;
}

.wb-input-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(80,140,255,1), rgba(140,180,255,1));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.wb-input:focus ~ .wb-input-line {
  transform: scaleX(1);
}

/* ===================================================
   SCREEN 0: LANDING
   =================================================== */
.wb-landing {
  text-align: center;
  padding: 2rem;
}

.wb-landing__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  line-height: 1;
}

.wb-landing__line1 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.wb-landing__line2 {
  font-size: clamp(3.5rem, 14vw, 9rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.wb-landing__line3 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.wb-landing__tagline {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
}

.wb-landing__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: rgba(255,255,255,0.95);
  color: #0a0a1a;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.wb-landing__cta:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(140, 180, 255, 0.15), 0 0 60px rgba(80, 140, 255, 0.08);
}

.wb-landing__cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(140,180,255,0.1) 0%, transparent 70%);
  animation: wbCtaGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wbCtaGlow {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.wb-landing__disclaimer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
  font-style: italic;
}

/* ===================================================
   SCREEN 1: REGISTRATION
   =================================================== */
.wb-register {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}

.wb-register__card {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.wb-register__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.wb-register__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
}

.wb-register__subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.wb-register__btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ===================================================
   SCREEN 2: QUESTIONS
   =================================================== */

/* Progress bar */
.wb-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.05);
  z-index: 1001;
}

.wb-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(80,140,255,1), rgba(140,180,255,1));
  transition: width 0.6s ease;
}

.wb-progress__counter {
  position: fixed;
  top: 0.75rem;
  right: clamp(1.5rem, 5vw, 4rem);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.3);
  z-index: 1001;
}

/* Section divider */
.wb-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.wb-divider--active {
  opacity: 1;
  pointer-events: all;
}

.wb-divider__part {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(140, 180, 255, 0.6);
  margin-bottom: 1rem;
}

.wb-divider__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  margin: 0;
}

.wb-divider__subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  max-width: 500px;
  line-height: 1.6;
  margin-top: 1rem;
}

/* Question area */
.wb-question-area {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.wb-question-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Question elements */
.wb-question__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 180, 255, 0.5);
  margin-bottom: 1.5rem;
}

.wb-question__text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.wb-question__guidance {
  background: rgba(140, 180, 255, 0.08);
  border: 1px solid rgba(140, 180, 255, 0.15);
  border-left: 3px solid rgba(140, 180, 255, 0.4);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 4px 10px 10px 4px;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-style: italic;
}

.wb-question__guidance-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140, 180, 255, 0.6);
  font-style: normal;
  margin-bottom: 0.4rem;
}

.wb-question__textarea {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.wb-question__textarea:focus {
  border-color: rgba(140, 180, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(140, 180, 255, 0.05);
}

.wb-question__textarea::placeholder {
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

.wb-question__text-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.9);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.wb-question__text-input:focus {
  border-color: rgba(140, 180, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(140, 180, 255, 0.05);
}

.wb-question__text-input::placeholder {
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

/* Navigation buttons */
.wb-question__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wb-question__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.85rem 1.4rem;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.wb-question__back:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.wb-question__submit {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: rgba(255,255,255,0.95);
  color: #0a0a1a;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wb-question__submit:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(140, 180, 255, 0.12);
}

/* ---------- MULTI-SELECT CHIPS ---------- */
.wb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.wb-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.wb-chip:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(140, 180, 255, 0.2);
  color: rgba(255,255,255,0.8);
}

.wb-chip--selected {
  background: rgba(140, 180, 255, 0.12);
  border-color: rgba(140, 180, 255, 0.4);
  color: rgba(140, 180, 255, 0.95);
}

/* Validation error */
.wb-error {
  color: rgba(255, 120, 120, 0.8);
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: -1rem;
  margin-bottom: 1rem;
  display: none;
}

.wb-error--visible {
  display: block;
}

/* Optional label */
.wb-optional {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  font-style: italic;
  margin-bottom: 0.75rem;
}

/* ===================================================
   SCREEN 3: REVIEW
   =================================================== */
.wb-review {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.wb-review__header {
  text-align: center;
  margin-bottom: 3rem;
}

.wb-review__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}

.wb-review__subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.wb-review__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.wb-review__section {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
}

.wb-review__section-title {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 180, 255, 0.6);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wb-review__item {
  margin-bottom: 0.85rem;
}

.wb-review__item:last-child {
  margin-bottom: 0;
}

.wb-review__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.2rem;
}

.wb-review__value {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.wb-review__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.wb-review__chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(140, 180, 255, 0.08);
  border: 1px solid rgba(140, 180, 255, 0.15);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(140, 180, 255, 0.8);
}

.wb-review__actions {
  display: flex;
  gap: 0.75rem;
}

/* ===================================================
   SCREEN 4: PAYMENT
   =================================================== */
.wb-payment {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}

.wb-payment__card {
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.wb-payment__header {
  text-align: center;
  margin-bottom: 2rem;
}

.wb-payment__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
}

.wb-payment__subtitle {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.wb-payment__summary {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.wb-payment__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  padding: 0.4rem 0;
}

.wb-payment__item--total {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
}

.wb-payment__includes {
  margin-bottom: 1.5rem;
}

.wb-payment__includes h4 {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.wb-payment__includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wb-payment__includes ul li {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  padding-left: 1.2rem;
  position: relative;
}

.wb-payment__includes ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(140, 180, 255, 0.7);
  font-size: 0.75rem;
}

.wb-payment__contact {
  margin-bottom: 1.5rem;
}

.wb-btn--pay {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wb-btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(140,180,255,0.15) 0%, transparent 70%);
  animation: wbBtnGlow 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wbBtnGlow {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.wb-payment__secure {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  font-style: italic;
  margin-top: 1rem;
}

/* ===================================================
   SCREEN 5: SUCCESS
   =================================================== */
.wb-success {
  text-align: center;
  padding: 2rem;
  max-width: 520px;
}

.wb-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.wb-success__check {
  width: 100%;
  height: 100%;
}

.wb-success__check-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: wbCheckDraw 0.6s ease 0.3s forwards;
}

@keyframes wbCheckDraw {
  to { stroke-dashoffset: 0; }
}

.wb-success__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.wb-success__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin: 0 0 2rem;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  .wb-review {
    padding: 5rem 1.5rem 3rem;
  }

  .wb-question-area {
    padding: 1.5rem;
  }

  .wb-progress__counter {
    right: 1.5rem;
  }

  .wb-review__actions {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .wb-register__card,
  .wb-question-card {
    padding: 1.5rem;
  }

  .wb-landing__line2 {
    font-size: 4rem;
  }
}
