* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;

  background: url(../images/bg1.webp) no-repeat;
  background-position: top;
  background-size: 100% 100%;
}

.bgtop {
  background: rgba(255, 255, 255, 0.15);
  height: 60px;
  padding-left: 50px !important;
  display: flex;
  align-items: center;
}
#ageGroup {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  padding-right: 3rem;
}

.bgtop .logo {
  width: 141px;
}

.container-fluid {
  padding: 0;
}

.wrap_main {
  padding: 30px;
  width: 75%;
  margin: auto;
}
.wrap_main .container-fluid {
  border: 1px solid #9287d3;
  border-radius: 25px;
}
.wrap_main .container-fluid .row {
  margin-left: 0;
  margin-right: 0;
}

.left-section {
  padding: 0px 0;
  display: flex;

  border-right: 1px solid #9287d3;
  border-radius: 25px 0 0 25px;
  background: #020119;
}

.right-section {
  padding: 10px 20px;
  display: flex;
  align-items:center;
  justify-content: center;

  background: rgba(50, 35, 141, 0.15);
  border-radius: 25px;
}

.phone-mockup {
  max-width: 100%;
  border-radius: 25px;
}

.intro-content {
  color: white;
  position: relative;
  display: flex;
  align-items: end;
}
#quizScreen {    vertical-align: top;}

.intro-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  padding-left: 25px;
  position: absolute;
  top: 10px;
}

.intro-content p {
  font-size: 1.1rem;
  opacity: 0.6;
  color: #fff;
  line-height: 1.6;
  padding-left: 25px;
  position: absolute;
  top: 110px;
}

.auth-container {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px 30px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #9287d3;
}

.auth-container h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.auth-container p {
  color: rgba(255, 255, 255, 0.7);
}
.auth-container .formRegister {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.auth-container .formRegister .btn-primary {
  height: 44px;
  padding: 0;
  margin-top: 33px;
}

.formRegister .input-group .form-control {
  padding-right: 70px;
}
.form-label {
  color: white;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px !important;
  padding: 8px 20px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #4a90e2;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
  color: white;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 25px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #4a90e2;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
  color: white;
}

.form-select option {
  background: #1a2f5c;
  color: white;
}

.input-group {
  position: relative;
}

.country-code {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  display: flex;
  align-items: center;
  z-index: 10;
}

.country-code img {
  width: 24px;
  margin-right: 8px;
}

.input-group .form-control {
  padding-right: 100px;
}

.btn-primary {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
}

.btn-primary:hover {
    background: #3a357f;
    transform: translateY(-2px);
    box-shadow: none;
    border:1px solid #fff;
}

.btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
}

.link-text {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 20px;
}

.link-text a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.link-text a:hover {
  text-decoration: underline;
}

.otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 30px 0;
}

.otp-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.otp-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  outline: none;
}

.resend-link {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 14px;
}

.resend-link a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.quiz-container {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  width: 615px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.4);
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.quiz-progress {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.progress-bar-container {
  width: 65%;
  height: 20px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  margin: 0px;
  border: 1px solid;
  border-color: rgba(146, 135, 211, 0.4);
}

.progress-bar-fill {
  height: 100%;
  background: #6155b8;
  border-radius: 10px;
  transition: width 0.3s ease;
  border: 1px solid;
  border-color: rgba(152, 165, 213, 0.6);
}

.question-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  margin-bottom: 20px;
}

.question-text {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  margin-top: 20px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 30px;
  color: white;
  font-size: 16px;
  width: 100%;
  text-align: left;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateX(5px);
}

.option-btn.selected {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.navigation-btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border: none;
  border-radius: 50%;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-next:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-back {
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 0;
  color: #1a2974;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: auto;
  width: 40px;
  height: 40px;
}

.btn-back:hover {
  background: #fff;
}
.btn-back i {
  font-size: 25px;
}

.wrapflex {
  display: flex;
  margin-bottom: 10px;
}

.btn-end-quiz {
  background: rgba(255, 4, 4, 0.6);
  border: none;
  border-radius: 50px;
  padding: 7px 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-end-quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.error-message {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

.verify-btn {
  background: transparent;
  border: none;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 15px;
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 99;
}
.input-group.v2 .form-control {
  padding-left: 85px;
  padding-right: 10px;
}

.quiz-container.v2 {width:100%; height: 95%; text-align: center; display: flex;    justify-content: center;    align-items: center;}
.quiz-container.v3 {width:100%; height: 100%;}

.succesText {text-align:center;}
.succesText h4 {font-size:60px;font-weight:600; color:#fff;}
.succesText p  {font-size:24px; color:#fff;}}


@media (max-width: 768px) {
    
    .otp-input {
  width: 40px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white; 
}


div#otpScreen {
    width: 100%;
}
  .left-section {
    display: none;
  }

  .auth-container,
  .quiz-container {
    max-width: 100%;
    margin: 20px;
  }

  .question-text {
    font-size: 1.5rem;
    margin-top: 30px;
  }

  .otp-input {
    width: 45px;
    height: 55px;
  }
  .wrap_main {
    width: 100%;
    padding: 30px 10px;
  }
  .auth-container,
  .quiz-container {
    margin: 0;
  }
  .right-section {
    padding: 10px;
  }
  .wrap_main .container-fluid {
  }
  .auth-container .formRegister {
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
  }
  .quiz-container {
    position: relative;
    margin-top: 40px;
  }
  .quiz-header {
    position: absolute;
    top: -40px;
    width: 95%;
    right: 0;
    left: 0;
    margin: auto;
  }
  .progress-bar-container {
    width: 60%;
    background: #171e4d;
  }
  .bgtop {
    padding-left: 30px !important;
  }
  .btn-back {
    position: absolute;
    top: 12px;
  }
  .quiz-container {width:100%;}
}


    
 .results-wrapper {
      max-width: 100%;
      margin: 0 auto;
    }

    /* ── Heading ── */
    .results-title {
      font-size: 2.2rem;
      font-weight: 900;
      color: #fff;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
    }

    /* ── Archetype Card ── */
    .archetype-card {
      background: rgba(0,101,129,0.3);
      border-radius: 10px;
      padding: 15px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 28px;
      border: 1px solid rgba(132, 183, 197, 0.25);
      box-shadow: 0 8px 30px rgba(0,0,0,0.35);


    }

    .archetype-info {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .owl-img {
      width: 72px;
      height: 72px;
      object-fit: contain;
      filter: drop-shadow(0 4px 12px rgba(124,110,247,0.4));
    }

    .archetype-label {
      font-size: 0.8rem;
      color:#fff;
      font-weight: 500;
      margin-bottom: 4px;
      letter-spacing: 0.5px;
    }

    .archetype-name {
    
      font-size: 20px;
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
    }

    .btn-view-desc {
      background:#fff;
      color:#333;
      border: 2px solid rgba(255,255,255,0.35);
      border-radius: 50px;
      padding: 8px 20px;
      font-size: 0.85rem;
      font-weight: 600;
      white-space: nowrap;
      transition: all 0.25s ease;

    }

    .btn-view-desc:hover {
     background:#fff;
      border-color: rgba(255,255,255,0.6);
       color:#000;
    }
    
    
    .btn-retake-arc {
      background:#fff;
      color:#333;
      border: 2px solid rgba(255,255,255,0.35);
      border-radius: 50px;
      padding: 8px 20px;
      font-size: 0.85rem;
      font-weight: 600;
      white-space: nowrap;
      transition: all 0.25s ease;

    }

    .btn-retake-arc:hover {
     background:#fff;
      border-color: rgba(255,255,255,0.6);
       color:#000;
    }
    
    .wrapBtn {padding-top:15px;     text-align: right;}

    /* ── Tailored Section ── */
    .tailored-heading {
 
      font-size: 1.4rem;
      font-weight: 600;
      color:#fff;
      margin-bottom: 8px;
    }

    .tailored-desc {
      font-size: 0.88rem;
      color:#fff;
      line-height: 1.65;
      margin-bottom: 22px;
    }

    /* ── Product Bundle Card ── */
    .bundle-card {
      background: #212C67;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid #8c79af;
      box-shadow: 0 12px 40px rgba(0,0,0,0.4);
      display: flex;
      flex-direction: column;
      padding: 15px;
    }

    .bundle-inner {
      display: flex;
      gap: 0;
    }

    .bundle-img-wrap {
      flex: 0 0 40%;
      min-height: 260px;
      position: relative;
      overflow: hidden;
    }

    .bundle-img-wrap img {
      width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 15px;
    border: 1px solid #676e83;
    }

    .bundle-content {
      flex: 1;
      padding: 24px 22px 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
          padding-top: 0;
          padding-bottom: 0;
    }

    .curated-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 10px;
    }

    .bundle-title {
      font-size: 1.3rem;
      font-weight: 600;
      color:#fff;
      margin-bottom: 14px;
      line-height: 1.2;
    }

    .bundle-list {
      list-style: none;
      padding: 0;
      margin: 0 0 20px;
    }

    .bundle-list li {
      font-size: 0.82rem;
      color:rgba(255,255,255,0.6);
      padding: 3px 0;
      padding-left: 14px;
      position: relative;
      line-height: 1.5;
       font-family: 'Ledger', serif;
    }

    .bundle-list li::before {
      content: '•';
      position: absolute;
      left: 0;
       color:rgba(255,255,255,0.6);
      font-size: 0.9rem;
    }

    .btn-get-bundle {
      background:linear-gradient(-215deg,rgba(136, 97, 207, 1) 0%, rgba(80, 66, 165, 1) 100%);
      color:#fff;
      border: none;
      border-radius: 50px;
      padding: 7px 28px;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.25s ease;
      align-self: flex-start;
      box-shadow: 0 4px 18px rgba(124,110,247,0.45);
      letter-spacing: 0.2px;
      border: 2px solid #b8a0e2;
    }

    .btn-get-bundle:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(124,110,247,0.6);
    }

    .btn-get-bundle:active {
      transform: translateY(0);
    }
    .fullWidth {width:100%; height:100%}
    

       .freepikImg {
    width: 90px;
    position: relative;
    bottom: -15px;
    left: -22px;
}

    /* ── Responsive ── */
    @media (max-width: 520px) {
        .curated-badge {
            font-size: 10px;
}
        .screen.active {
        display: block;
        width: 100%;
    }
        
    .otp-input {
    width: 35px;
    height: 35px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}    
      
      
      .quiz-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid;
    border-color: rgba(255, 255, 255, 0.4);
}  
            
      .results-title { font-size: 1.75rem; }

      .archetype-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
      }

      .bundle-inner {
        flex-direction: column;
      }

      .bundle-img-wrap {
        flex: unset;
        height: 200px;
        width: 100%;
      }

      .bundle-content {
        padding: 18px 16px 20px;
      }

      .btn-get-bundle {
        width: 100%;
        text-align: center;
        align-self: stretch;
      }
    }

 @media (max-width: 991px) {
.wrap_main    {width: 100%;}
.left-section {border-radius: 25px 25px 0 0;}
.bundle-img-wrap {height: auto;  min-height: auto;}
.bundle-content {padding: 18px 0px; }
.freepikImg    {bottom: 0;}



 }



.archetype-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 40, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.archetype-modal-content {
    background: linear-gradient(145deg, #1f2c5c, #2a3a78);
    width: 90%;
    max-width: 750px;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: fadeInScale .3s ease;
}

.archetype-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#closeArchetypeModal {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.archetype-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(.9); }
    to { opacity: 1; transform: scale(1); }
}


@media (max-width: 767px) {

    #registerForm .row,
    #registerForm .form-row,
    #registerForm .col,
    #registerForm [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    #registerForm .mb-3 {
        width: 100% !important;
    }

    #registerForm .input-group {
        flex-wrap: nowrap;
    }
    
     #registerForm {
        display: block !important;
    }

    #registerForm > * {
        width: 100% !important;
    }

    #registerForm .verify-btn {
        white-space: nowrap;
    }
}






